Commit 4ceb7d80 authored by vijaysm's avatar vijaysm

Remove some CMake warnings about quoted variables

parent c818d532
......@@ -5,7 +5,7 @@
#
MACRO(TEST_BIG_ENDIAN VARIABLE)
IF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
IF(HAVE_${VARIABLE} MATCHES ^HAVE_${VARIABLE}$)
MESSAGE(STATUS "Check if the system is big endian")
MESSAGE(STATUS "Searching 16 bit integer")
......@@ -93,6 +93,6 @@ MACRO(TEST_BIG_ENDIAN VARIABLE)
"Determining if the system is big endian failed with the following output:\n${OUTPUT}\nTestEndianess.c:\n${TEST_ENDIANESS_FILE_CONTENT}\n\n")
SET(${VARIABLE})
ENDIF(HAVE_${VARIABLE})
ENDIF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
ENDIF(HAVE_${VARIABLE} MATCHES ^HAVE_${VARIABLE}$)
ENDMACRO(TEST_BIG_ENDIAN)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment