summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CommandLine/E_env-set.cmake
blob: c2639b6634d4b0b18a9fc9232b4fdbd8aff29aee (plain)
1
2
3
4
5
if(DEFINED ENV{TEST_ENV})
  message(STATUS "TEST_ENV is correctly set in environment: $ENV{TEST_ENV}")
else()
  message(FATAL_ERROR "TEST_ENV is incorrectly not set in environment")
endif()