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