diff options
author | Brad King <brad.king@kitware.com> | 2013-01-23 20:10:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-23 20:10:44 (GMT) |
commit | f81e09355b4b5291d01b7218db95ac064c6fa201 (patch) | |
tree | 4780491f4fc26e6142c2184abc0d49a8c8f11dd1 /Tests | |
parent | c4c52b32730882964b0f0c13762cf2477280ff8b (diff) | |
parent | c0f1af926feb3494ada1a311441ea144926157a2 (diff) | |
download | CMake-f81e09355b4b5291d01b7218db95ac064c6fa201.zip CMake-f81e09355b4b5291d01b7218db95ac064c6fa201.tar.gz CMake-f81e09355b4b5291d01b7218db95ac064c6fa201.tar.bz2 |
Merge topic 'ExternalProject-DEPENDS-target'
c0f1af9 ExternalProject: Allow DEPENDS on normal targets (#13849)
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ExternalProject/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt index e24a979..602ff0f 100644 --- a/Tests/ExternalProject/CMakeLists.txt +++ b/Tests/ExternalProject/CMakeLists.txt @@ -50,6 +50,8 @@ if(NOT DEFINED can_build_tutorial_step5) endif() endif() +add_custom_target(NonExternalProjectTarget + COMMAND ${CMAKE_COMMAND} -E echo NonExternalProjectTarget) # Empty projects that test all the known ExternalProject_Add argument key words: # @@ -94,7 +96,7 @@ ExternalProject_Add(${proj} CVS_REPOSITORY "" CVS_MODULE "" CVS_TAG "" - DEPENDS "MinimalNoOpProject" + DEPENDS "MinimalNoOpProject" NonExternalProjectTarget DOWNLOAD_COMMAND "" INSTALL_COMMAND "" PATCH_COMMAND "" |