summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0051/CMP0051-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0051/CMP0051-WARN.cmake')
-rw-r--r--Tests/RunCMake/CMP0051/CMP0051-WARN.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0051/CMP0051-WARN.cmake b/Tests/RunCMake/CMP0051/CMP0051-WARN.cmake
index fd595ce..744598f 100644
--- a/Tests/RunCMake/CMP0051/CMP0051-WARN.cmake
+++ b/Tests/RunCMake/CMP0051/CMP0051-WARN.cmake
@@ -6,3 +6,9 @@ add_library(empty empty.cpp $<TARGET_OBJECTS:objects>)
get_target_property(srcs empty SOURCES)
message("Sources: \"${srcs}\"")
+
+add_subdirectory(CMP0051-WARN-Dir)
+
+get_target_property(srcs empty2 SOURCES)
+
+message("Sources: \"${srcs}\"")