cmake/Tests/RunCMake/CommandLine/E_env-unset.cmake
2015-04-27 22:25:09 +02:00

6 lines
174 B
CMake

if(DEFINED ENV{TEST_ENV})
message(FATAL_ERROR "TEST_ENV is incorrectly set in environment")
else()
message(STATUS "TEST_ENV is correctly not set in environment")
endif()