PushCheckStateTest: Fix syntax warning
This commit fixes the following warning originally introduced in
1325260
(Add macros cmake_push/pop_check_state() as discussed on the list.)
Argument not separated from preceding token by whitespace.
This commit is contained in:
parent
0aa736e625
commit
85b2bb6cb4
|
@ -14,14 +14,14 @@ cmake_pop_check_state()
|
||||||
|
|
||||||
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs2")
|
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs2")
|
||||||
set(fatal TRUE)
|
set(fatal TRUE)
|
||||||
message("ERROR: "CMAKE_REQUIRED_DEFINITIONS is \"${CMAKE_REQUIRED_DEFINITIONS}\" (expected \"defs2\")" )
|
message("ERROR: CMAKE_REQUIRED_DEFINITIONS is \"${CMAKE_REQUIRED_DEFINITIONS}\" (expected \"defs2\")" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
cmake_pop_check_state()
|
cmake_pop_check_state()
|
||||||
|
|
||||||
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs1")
|
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs1")
|
||||||
set(fatal TRUE)
|
set(fatal TRUE)
|
||||||
message("ERROR: "CMAKE_REQUIRED_DEFINITIONS is \"${CMAKE_REQUIRED_DEFINITIONS}\" (expected \"defs1\")" )
|
message("ERROR: CMAKE_REQUIRED_DEFINITIONS is \"${CMAKE_REQUIRED_DEFINITIONS}\" (expected \"defs1\")" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue