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

if(content)
  set(RunCMake_TEST_FAILED "actual content:\n [[${content}]]\nbut expected an empty string")
endif()