llvm cmake files incorrectly generated
Bug #1387011 reported by
Lucy Llewellyn
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LLVM |
Confirmed
|
Medium
|
|||
llvm (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
llvm-defaults (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
llvm-toolchain-3.5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
llvm-toolchain-3.8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
CMake Error at /usr/share/
set_property could not find TARGET LLVMSupport. Perhaps it has not yet
been created.
Call Stack (most recent call first):
/usr/
CMakeLists.
this message is repeated (many times) for each library/target referenced in the LLVMExports.cmake file.
upstream say they fixed it in svn revision 217484: http://
affects utopic.
Changed in llvm (Ubuntu): | |
importance: | Undecided → High |
Changed in llvm: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in llvm: | |
status: | Fix Released → Confirmed |
To post a comment you must log in.
Following the instructions at http:// llvm.org/ docs/CMake. html#embedding- llvm-in- your-project , a simple CMakeLists.txt fails immediately with LLVM 3.5.0 or 3.6.0svn installed at /usr/local, at "find_package(LLVM REQUIRED CONFIG)"
CMake Error at /usr/local/ Cellar/ llvm/HEAD/ share/llvm/ cmake/LLVMExpor ts.cmake: 6 (set_property): local/share/ llvm/cmake/ LLVMConfig. cmake:50 (include)
set_property could not find TARGET LLVMSupport. Perhaps it has not yet
been created.
Call Stack (most recent call first):
/usr/
CMakeLists.txt:4 (find_package)
similarly for all set_property calls in LLVMExports.cmake.
This fails for CMake 2.8- and 3.0 series.