summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0041/CMP0041-tid-WARN.cmake
blob: ee4c2a6210d9f2b8b98b02bd9b786a04d4e3946f (plain)
1
2
3
4
5
6
7
8
9

add_library(foo empty.cpp)
target_include_directories(foo INTERFACE
  include/$<TARGET_PROPERTY:NAME>
  ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
  ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
)
install(TARGETS foo EXPORT FooExport DESTINATION lib)
install(EXPORT FooExport DESTINATION lib/cmake)