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