diff options
author | Brad King <brad.king@kitware.com> | 2002-12-12 10:25:18 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-12 10:25:18 -0500 |
commit | 38b2667de200d558eec03f65d24e13d0778bc9c7 (patch) | |
tree | fd88ee67fe11d5d208bad1fe48ca32e141db5134 /Modules/CMakeDetermineCXXCompiler.cmake | |
parent | 5203a92ef1f2202a21af3ae143f61aafb6487b5a (diff) | |
download | cmake-38b2667de200d558eec03f65d24e13d0778bc9c7.tar.gz |
ERR: Need double-quotes around expression to be mached in IF command.
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCXXCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake index fa234fd32f..05c095e290 100644 --- a/Modules/CMakeDetermineCXXCompiler.cmake +++ b/Modules/CMakeDetermineCXXCompiler.cmake @@ -41,9 +41,9 @@ MARK_AS_ADVANCED(CMAKE_CXX_COMPILER) # test to see if the cxx compiler is gnu EXEC_PROGRAM(${CMAKE_CXX_COMPILER} ARGS -E ${CMAKE_ROOT}/Modules/CMakeTestGNU.c OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT RETURN_VALUE CMAKE_COMPILER_RETURN) IF(NOT CMAKE_COMPILER_RETURN) - IF(${CMAKE_COMPILER_OUTPUT} MATCHES ".*THIS_IS_GNU.*" ) + IF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" ) SET(CMAKE_COMPILER_IS_GNUCXX 1) - ENDIF(${CMAKE_COMPILER_OUTPUT} MATCHES ".*THIS_IS_GNU.*" ) + ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" ) ENDIF(NOT CMAKE_COMPILER_RETURN) # configure all variables set in this file |