[LLVMbugs] [Bug 20884] New: find_package(LLVM REQUIRED CONFIG) fails with Error:set_property could not find TARGET LLVMSupport.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 8 21:42:38 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20884
Bug ID: 20884
Summary: find_package(LLVM REQUIRED CONFIG) fails with
Error:set_property could not find TARGET LLVMSupport.
Product: Build scripts
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: dfarler at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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/LLVMExports.cmake:6
(set_property):
set_property could not find TARGET LLVMSupport. Perhaps it has not yet
been created.
Call Stack (most recent call first):
/usr/local/share/llvm/cmake/LLVMConfig.cmake:50 (include)
CMakeLists.txt:4 (find_package)
similarly for all set_property calls in LLVMExports.cmake.
This fails for CMake 2.8- and 3.0 series.
--
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/20140909/485c48ce/attachment.html>
More information about the llvm-bugs
mailing list