diff options
author | Brad King <brad.king@kitware.com> | 2002-12-12 15:25:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-12 15:25:18 (GMT) |
commit | 38b2667de200d558eec03f65d24e13d0778bc9c7 (patch) | |
tree | fd88ee67fe11d5d208bad1fe48ca32e141db5134 /Modules/CMakeDetermineCCompiler.cmake | |
parent | 5203a92ef1f2202a21af3ae143f61aafb6487b5a (diff) | |
download | CMake-38b2667de200d558eec03f65d24e13d0778bc9c7.zip CMake-38b2667de200d558eec03f65d24e13d0778bc9c7.tar.gz CMake-38b2667de200d558eec03f65d24e13d0778bc9c7.tar.bz2 |
ERR: Need double-quotes around expression to be mached in IF command.
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 7c34f83..4b766a2 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -48,9 +48,9 @@ MARK_AS_ADVANCED(CMAKE_RANLIB) # test to see if the c compiler is gnu EXEC_PROGRAM(${CMAKE_C_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_GNUCC 1) - ENDIF(${CMAKE_COMPILER_OUTPUT} MATCHES ".*THIS_IS_GNU.*" ) + ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" ) ENDIF(NOT CMAKE_COMPILER_RETURN) |