r260744 - [CMake] Fixing bots I broke.
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 12 13:46:25 PST 2016
Author: cbieneman
Date: Fri Feb 12 15:46:25 2016
New Revision: 260744
URL: http://llvm.org/viewvc/llvm-project?rev=260744&view=rev
Log:
[CMake] Fixing bots I broke.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=260744&r1=260743&r2=260744&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Fri Feb 12 15:46:25 2016
@@ -605,7 +605,7 @@ set(CLANG_ORDER_FILE ${CMAKE_CURRENT_BIN
"Order file to use when compiling clang in order to improve startup time.")
if(CLANG_ORDER_FILE AND NOT EXISTS ${CLANG_ORDER_FILE})
- string(FIND CLANG_ORDER_FILE "${CMAKE_CURRENT_BINARY_DIR}" PATH_START)
+ string(FIND "${CLANG_ORDER_FILE}" "${CMAKE_CURRENT_BINARY_DIR}" PATH_START)
if(PATH_START EQUAL 0)
file(WRITE ${CLANG_ORDER_FILE} "\n")
else()
More information about the cfe-commits
mailing list