diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-01 21:25:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-01 21:25:26 (GMT) |
commit | c8e546a353720f75dcc9282b254aba6d4e7db7ea (patch) | |
tree | c00603458c9139661387c16011985e4a47e29a16 /Modules | |
parent | 5e48ccac35327927f137d99bb3ce20b2522e2aeb (diff) | |
download | CMake-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')
-rw-r--r-- | Modules/CheckFunctionExists.cmake | 2 | ||||
-rw-r--r-- | Modules/CheckLibraryExists.cmake | 2 | ||||
-rw-r--r-- | Modules/CheckTypeSize.cmake | 2 | ||||
-rw-r--r-- | Modules/CheckVariableExists.cmake | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake index 0e830f6..5951e53 100644 --- a/Modules/CheckFunctionExists.cmake +++ b/Modules/CheckFunctionExists.cmake @@ -18,7 +18,7 @@ MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE) ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckFunctionExists.c CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} - ${CHECK_FUNCTION_EXISTS_ADD_LIBRARIES} + "${CHECK_FUNCTION_EXISTS_ADD_LIBRARIES}" OUTPUT_VARIABLE OUTPUT) IF(${VARIABLE}) SET(${VARIABLE} 1 CACHE INTERNAL "Have function ${FUNCTION}") diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index 9eb48af..f720e3e 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake @@ -21,7 +21,7 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE) CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_LIBRARY_EXISTS_DEFINITION} -DLINK_DIRECTORIES:STRING=${LOCATION} - -DLINK_LIBRARIES:STRING=${CHECK_LIBRARY_EXISTS_LIBRARIES} + "-DLINK_LIBRARIES:STRING=${CHECK_LIBRARY_EXISTS_LIBRARIES}" OUTPUT_VARIABLE OUTPUT) IF(${VARIABLE}) diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index 306f1a1..e7bc1b5 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake @@ -25,7 +25,7 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/CheckTypeSize.c CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS} - ${CHECK_TYPE_SIZE_ADD_LIBRARIES} + "${CHECK_TYPE_SIZE_ADD_LIBRARIES}" OUTPUT_VARIABLE OUTPUT) IF(HAVE_${VARIABLE}) MESSAGE(STATUS "Check size of ${TYPE} - done") 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}") |