Hi, changing the definition of LLVM_CMAKE_DIR is not sufficient to resolve this, because the LLVM targets in LLVM-Exports.cmake are not set up properly, leading to this:
(result of a CMakeLists.txt containing 'find_package(LLVM REQUIRED)'): CMake Error at /usr/share/llvm-3.5/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/share/llvm-3.5/cmake/LLVMConfig.cmake:50 (include) cmake/modules/SearchInstalledSoftware.cmake:654 (find_package) CMakeLists.txt:46 (include) CMake Error at /usr/share/llvm-3.5/cmake/LLVMExports.cmake:7 (set_property): set_property could not find TARGET LLVMAArch64Utils. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/share/llvm-3.5/cmake/LLVMConfig.cmake:50 (include) cmake/modules/SearchInstalledSoftware.cmake:654 (find_package) CMakeLists.txt:46 (include) This is because the 'Exports' file is full of commands to set properties on the targets, but the targets are never defined (imported) anywhere. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365432 Title: llvm doesn't install any LLVMConfig.cmake file To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1365432/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
