[compiler-rt] r203789 - [CMake] Attempt to fix standalone compiler-rt build on Windows
Alexey Samsonov
samsonov at google.com
Thu Mar 13 04:55:27 PDT 2014
Author: samsonov
Date: Thu Mar 13 06:55:27 2014
New Revision: 203789
URL: http://llvm.org/viewvc/llvm-project?rev=203789&view=rev
Log:
[CMake] Attempt to fix standalone compiler-rt build on Windows
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=203789&r1=203788&r2=203789&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Thu Mar 13 06:55:27 2014
@@ -95,7 +95,8 @@ else()
list(GET CONFIG_OUTPUT 3 LLVM_MAIN_SRC_DIR)
# Make use of LLVM CMake modules.
- set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/share/llvm/cmake")
+ file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE)
+ set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/share/llvm/cmake")
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