summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/CMP0024-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/include/CMP0024-WARN.cmake')
-rw-r--r--Tests/RunCMake/include/CMP0024-WARN.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/include/CMP0024-WARN.cmake b/Tests/RunCMake/include/CMP0024-WARN.cmake
index 583c7d4..783cf78 100644
--- a/Tests/RunCMake/include/CMP0024-WARN.cmake
+++ b/Tests/RunCMake/include/CMP0024-WARN.cmake
@@ -3,5 +3,5 @@ enable_language(CXX)
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)