diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-20 17:10:09 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-20 17:10:09 (GMT) |
commit | ff3ad9683159de867f76ee51afeb197a161a5f23 (patch) | |
tree | b1eb11c3f33072cda3519ca809f8cbf091a35e3c /Modules/TestBigEndian.cmake | |
parent | 165d70803f27d489544f9ef51f04ce5b4b3a6aae (diff) | |
download | CMake-ff3ad9683159de867f76ee51afeb197a161a5f23.zip CMake-ff3ad9683159de867f76ee51afeb197a161a5f23.tar.gz CMake-ff3ad9683159de867f76ee51afeb197a161a5f23.tar.bz2 |
BUG: fix some missing quotes for STREQUAL IF statements
Diffstat (limited to 'Modules/TestBigEndian.cmake')
-rw-r--r-- | Modules/TestBigEndian.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake index f121bdf..0759c75 100644 --- a/Modules/TestBigEndian.cmake +++ b/Modules/TestBigEndian.cmake @@ -10,9 +10,9 @@ MACRO(TEST_BIG_ENDIAN VARIABLE) ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestBigEndian.c OUTPUT_VARIABLE OUTPUT) - IF(${VARIABLE} STREQUAL "FAILED_TO_RUN") + IF("${VARIABLE}" STREQUAL "FAILED_TO_RUN") MESSAGE(SEND_ERROR "TestBigEndian Failed to run with output: ${OUTPUT}") - ENDIF(${VARIABLE} STREQUAL "FAILED_TO_RUN") + ENDIF("${VARIABLE}" STREQUAL "FAILED_TO_RUN") MESSAGE(STATUS "Check if the system is big endian") IF(HAVE_${VARIABLE}) FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log |