summaryrefslogtreecommitdiffstats
path: root/Modules/CheckVariableExists.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-01 21:25:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-01 21:25:26 (GMT)
commitc8e546a353720f75dcc9282b254aba6d4e7db7ea (patch)
treec00603458c9139661387c16011985e4a47e29a16 /Modules/CheckVariableExists.cmake
parent5e48ccac35327927f137d99bb3ce20b2522e2aeb (diff)
downloadCMake-c8e546a353720f75dcc9282b254aba6d4e7db7ea.zip
CMake-c8e546a353720f75dcc9282b254aba6d4e7db7ea.tar.gz
CMake-c8e546a353720f75dcc9282b254aba6d4e7db7ea.tar.bz2
To prevent cmake from breaking up arguments, put quotes around them
Diffstat (limited to 'Modules/CheckVariableExists.cmake')
-rw-r--r--Modules/CheckVariableExists.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake
index 9648964..96906f7 100644
--- a/Modules/CheckVariableExists.cmake
+++ b/Modules/CheckVariableExists.cmake
@@ -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}")