blob: 6f83bef2816a32ab2458bd6b62957b80062d7d39 (
plain)
1
2
3
4
5
6
7
|
if("x${CMAKE_GENERATOR_TOOLSET}" STREQUAL "xTest Toolset")
message(FATAL_ERROR "CMAKE_GENERATOR_TOOLSET is \"Test Toolset\" as expected.")
else()
message(FATAL_ERROR
"CMAKE_GENERATOR_TOOLSET is \"${CMAKE_GENERATOR_TOOLSET}\" "
"but should be \"Test Toolset\"!")
endif()
|