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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to