summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/NotFoundContent.cmake
blob: 9677e0c43aa7bf411243cb80a3eb0face36f8914 (plain)
1
2
3
4
5
6
7
8
9

include_directories(NotThere1-NOTFOUND)

include_directories($<1:There1-NOTFOUND>)

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp" "int main(int,char**) { return 0; }\n")
add_executable(dummy "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp")
set_property(TARGET dummy APPEND PROPERTY INCLUDE_DIRECTORIES "NotThere2-NOTFOUND")
set_property(TARGET dummy APPEND PROPERTY INCLUDE_DIRECTORIES "$<1:There2-NOTFOUND>")