summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake')
-rw-r--r--Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake b/Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake
new file mode 100644
index 0000000..dd16e3f
--- /dev/null
+++ b/Tests/RunCMake/target_sources/RelativePathInSubdirPrivate.cmake
@@ -0,0 +1,9 @@
+cmake_policy(SET CMP0076 NEW)
+enable_language(CXX)
+
+add_library(privatelib)
+
+add_subdirectory(RelativePathInSubdirPrivate)
+
+get_property(privatelib_sources TARGET privatelib PROPERTY SOURCES)
+message(STATUS "privatelib: ${privatelib_sources}")