summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/RelativePathInInterface.cmake
blob: 8bb6149d9c574379b66a803d061854160e9e820b (plain)
1
2
3
4
5
6

add_library(iface INTERFACE)
target_sources(iface INTERFACE empty_1.cpp)

add_executable(main main.cpp)
target_link_libraries(main iface)