diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-04 01:03:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-04 01:03:35 (GMT) |
commit | 668b3f3cea574a48240242c64e45300965f8bb84 (patch) | |
tree | 58c1fab399bf139235bfc09ef9dec3096a52ca39 /Modules/CheckVariableExists.cmake | |
parent | e720b84d6b6622a0e8780bd87fc9d364658de3f0 (diff) | |
download | CMake-668b3f3cea574a48240242c64e45300965f8bb84.zip CMake-668b3f3cea574a48240242c64e45300965f8bb84.tar.gz CMake-668b3f3cea574a48240242c64e45300965f8bb84.tar.bz2 |
Fix problems with required flags
Diffstat (limited to 'Modules/CheckVariableExists.cmake')
-rw-r--r-- | Modules/CheckVariableExists.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index 1635b5d..57b89c8 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake @@ -7,8 +7,8 @@ MACRO(CHECK_VARIABLE_EXISTS VAR VARIABLE) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") - SET(MACRO_CHECK_VARIABLE_DEFINITIONS -DCHECK_VARIABLE_EXISTS=${VAR} - ${CMAKE_REQUIRED_FLAGS}) + SET(MACRO_CHECK_VARIABLE_DEFINITIONS + "-DCHECK_VARIABLE_EXISTS=${VAR} ${CMAKE_REQUIRED_FLAGS}") MESSAGE(STATUS "Looking for ${VARIABLE}") IF(CMAKE_REQUIRED_LIBRARIES) SET(CHECK_VARIABLE_EXISTS_ADD_LIBRARIES |