summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/RelativePathInInterface.cmake
blob: f2ce54ae26adbc247777f9cc32dccb5dac55cb73 (plain)
1
2
3
4
5
6
7
8
9
10
11

project(RelativePathInInterface)

add_library(testTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "foo")

install(TARGETS testTarget EXPORT testTargets
  DESTINATION lib
)

install(EXPORT testTargets DESTINATION lib/cmake)