summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/RelativePathInInterface.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetSources/RelativePathInInterface.cmake')
-rw-r--r--Tests/RunCMake/TargetSources/RelativePathInInterface.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetSources/RelativePathInInterface.cmake b/Tests/RunCMake/TargetSources/RelativePathInInterface.cmake
new file mode 100644
index 0000000..8bb6149
--- /dev/null
+++ b/Tests/RunCMake/TargetSources/RelativePathInInterface.cmake
@@ -0,0 +1,6 @@
+
+add_library(iface INTERFACE)
+target_sources(iface INTERFACE empty_1.cpp)
+
+add_executable(main main.cpp)
+target_link_libraries(main iface)