summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake
blob: 97d81e9f17557e7dfefceb600125ac0273e36674 (plain)
1
2
3
4
5
6
7

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
           "int main(int, char **) { return 0; }\n")

add_executable(TargetPropertyGeneratorExpressions
           "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
include_directories("$<TARGET_PROPERTY:NonExistent,INCLUDE_DIRECTORIES>")