1 2 3 4 5 6
include(CTest) add_test(NAME cmake_version COMMAND "${CMAKE_COMMAND}" --version) set_property(TEST cmake_version PROPERTY ENVIRONMENT_MODIFICATION INVALID_OP=unknown:)