summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/TARGET_NAME_IF_EXISTS-imported-global-target-check.cmake
blob: b14c9e1646857be88a46a205174492155eeba15f (plain)
1
2
3
4
5
file(READ "${RunCMake_TEST_BINARY_DIR}/TARGET_NAME_IF_EXISTS-generated-imported-global.txt" content)

if(NOT content STREQUAL importedGlobalTarget)
  set(RunCMake_TEST_FAILED "actual content:\n ${content}\nbut expected [[importedGlobalTarget]]")
endif()