diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-10 09:46:06 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-10 10:01:39 (GMT) |
commit | af1f6987571b6f8298b03e184aa4aad23882d5c8 (patch) | |
tree | b8c2ed5d64659f6defc853921a1aa5cf2b46e8dd /Tests/RunCMake/include/CMP0024-WARN.cmake | |
parent | 7e4910fe47d667e059e42ac6395b0f4726f17064 (diff) | |
download | CMake-af1f6987571b6f8298b03e184aa4aad23882d5c8.zip CMake-af1f6987571b6f8298b03e184aa4aad23882d5c8.tar.gz CMake-af1f6987571b6f8298b03e184aa4aad23882d5c8.tar.bz2 |
CMP0024: Store the fact of included export in global generator.
Storing it in the makefile means that the policy does not trigger
when include and export are in differing directories.
Diffstat (limited to 'Tests/RunCMake/include/CMP0024-WARN.cmake')
-rw-r--r-- | Tests/RunCMake/include/CMP0024-WARN.cmake | 4 |
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) |