summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorToolset/NoToolset.cmake
blob: f1f1ecd265f3d72099da17765d1df7f5ac8e00f7 (plain)
1
2
3
4
5
6
7
if("x${CMAKE_GENERATOR_TOOLSET}" STREQUAL "x")
  message(FATAL_ERROR "CMAKE_GENERATOR_TOOLSET is empty as expected.")
else()
  message(FATAL_ERROR
    "CMAKE_GENERATOR_TOOLSET is \"${CMAKE_GENERATOR_TOOLSET}\" "
    "but should be empty!")
endif()