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:
Jean-Christophe Fillion-Robin 2016-03-31 10:40:23 -04:00
parent 0aa736e625
commit 85b2bb6cb4
1 changed files with 2 additions and 2 deletions

View File

@ -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()