mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
To prevent cmake from breaking up arguments, put quotes around them
This commit is contained in:
@@ -17,7 +17,7 @@ MACRO(CHECK_VARIABLE_EXISTS VAR VARIABLE)
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_ROOT}/Modules/CheckVariableExists.c
|
||||
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_VARIABLE_DEFINITIONS}
|
||||
${CHECK_VARIABLE_EXISTS_ADD_LIBRARIES}
|
||||
"${CHECK_VARIABLE_EXISTS_ADD_LIBRARIES}"
|
||||
OUTPUT_VARIABLE OUTPUT)
|
||||
IF(${VARIABLE})
|
||||
SET(${VARIABLE} 1 CACHE INTERNAL "Have variable ${VAR}")
|
||||
|
||||
Reference in New Issue
Block a user