[llvm-bugs] [Bug 31104] New: Standalone LLDB build is broken because gtest is defined twice
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 21 14:52:35 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31104
Bug ID: 31104
Summary: Standalone LLDB build is broken because gtest is
defined twice
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: eugene.zelenko at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
I encountered next problem when tried to build standalone LLDB:
CMake Error at pass2.build/lib64/cmake/llvm/AddLLVM.cmake:422 (add_library):
add_library cannot create target "gtest" because an imported target with
the same name already exists.
Call Stack (most recent call first):
pass2.build/lib64/cmake/llvm/AddLLVM.cmake:560 (llvm_add_library)
llvm-svn.src/utils/unittest/CMakeLists.txt:40 (add_llvm_library)
CMake Error at pass2.build/lib64/cmake/llvm/AddLLVM.cmake:531
(target_link_libraries):
Cannot specify link libraries for target "gtest" which is not built by this
project.
Call Stack (most recent call first):
pass2.build/lib64/cmake/llvm/AddLLVM.cmake:560 (llvm_add_library)
llvm-svn.src/utils/unittest/CMakeLists.txt:40 (add_llvm_library)
First time gtest is defined in:
pass2.build/lib64/cmake/llvm/LLVMBuildTreeOnlyTargets.cmake(42):
add_library(gtest STATIC IMPORTED )
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161121/d5e94cde/attachment.html>
More information about the llvm-bugs
mailing list