summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFunctionExists.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/CheckFunctionExists.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/CheckFunctionExists.cmake')
-rw-r--r--Modules/CheckFunctionExists.cmake2
1 files changed, 1 insertions, 1 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}")