summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/CMP0024-NEW.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/include/CMP0024-NEW.cmake')
-rw-r--r--Tests/RunCMake/include/CMP0024-NEW.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/include/CMP0024-NEW.cmake b/Tests/RunCMake/include/CMP0024-NEW.cmake
index 0685d6c..0e03d2a 100644
--- a/Tests/RunCMake/include/CMP0024-NEW.cmake
+++ b/Tests/RunCMake/include/CMP0024-NEW.cmake
@@ -5,5 +5,5 @@ cmake_policy(SET CMP0024 NEW)
add_library(foo SHARED empty.cpp)
-export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
-include("${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
+add_subdirectory(subdir1)
+add_subdirectory(subdir2)