mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
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:
@@ -14,14 +14,14 @@ cmake_pop_check_state()
|
||||
|
||||
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs2")
|
||||
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()
|
||||
|
||||
cmake_pop_check_state()
|
||||
|
||||
if (NOT "${CMAKE_REQUIRED_DEFINITIONS}" STREQUAL "defs1")
|
||||
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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user