summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-05 19:54:02 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-07 16:09:01 (GMT)
commitc0debb1f89de47f13f7b9682ebd24b772a649e78 (patch)
tree15e09c0a61f81ef5e4e0fdb6533ca7987c031d17 /Modules/ExternalProject.cmake
parentdaae0d2f5b0f9f5e1db3615d85d39ee819d50175 (diff)
parentec85306025ae787e08d4ce097fde966f1809c74f (diff)
downloadCMake-c0debb1f89de47f13f7b9682ebd24b772a649e78.zip
CMake-c0debb1f89de47f13f7b9682ebd24b772a649e78.tar.gz
CMake-c0debb1f89de47f13f7b9682ebd24b772a649e78.tar.bz2
Merge branch 'master' into generator-toolset
We need the latest Tests/CMakeLists.txt so we can refactor all tests.
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index cab11a8..bf2892b 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1559,8 +1559,11 @@ function(_ep_add_configure_command name)
set(file_deps)
get_property(deps TARGET ${name} PROPERTY _EP_DEPENDS)
foreach(dep IN LISTS deps)
- _ep_get_step_stampfile(${dep} "done" done_stamp_file)
- list(APPEND file_deps ${done_stamp_file})
+ get_property(is_ep TARGET ${dep} PROPERTY _EP_IS_EXTERNAL_PROJECT)
+ if(is_ep)
+ _ep_get_step_stampfile(${dep} "done" done_stamp_file)
+ list(APPEND file_deps ${done_stamp_file})
+ endif()
endforeach()
get_property(cmd_set TARGET ${name} PROPERTY _EP_CONFIGURE_COMMAND SET)