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

project(RelativePathInInterface)

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

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