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

project(ImportedTarget)

add_library(testTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")

add_library(imported UNKNOWN IMPORTED)
set_property(TARGET imported PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")

target_link_libraries(testTarget imported)