[compiler-rt] r259832 - Fix the search path for CMake files

Niels Ole Salscheider via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 13:45:02 PST 2016


Author: olesalscheider
Date: Thu Feb  4 15:45:02 2016
New Revision: 259832

URL: http://llvm.org/viewvc/llvm-project?rev=259832&view=rev
Log:
Fix the search path for CMake files

This fixes the build after moving LLVM's CMake files in r259821.

Modified:
    compiler-rt/trunk/CMakeLists.txt

Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=259832&r1=259831&r2=259832&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Thu Feb  4 15:45:02 2016
@@ -107,7 +107,7 @@ else()
 
   # Make use of LLVM CMake modules.
   file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE)
-  set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/share/llvm/cmake")
+  set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/lib/cmake/llvm")
   list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
   # Get some LLVM variables from LLVMConfig.
   include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake")




More information about the llvm-commits mailing list