summaryrefslogtreecommitdiffstats
path: root/Modules/AddExternalProject.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-12-24 15:10:40 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-12-24 15:10:40 (GMT)
commit5d9e78e91885e2e6d06e9f6b1901a3998f3dc5cc (patch)
tree05cb66af97a984f6f603b40b0cd920901d82b653 /Modules/AddExternalProject.cmake
parent1e5d400100dc724e22a78c2d0ca034bc38718c13 (diff)
downloadCMake-5d9e78e91885e2e6d06e9f6b1901a3998f3dc5cc.zip
CMake-5d9e78e91885e2e6d06e9f6b1901a3998f3dc5cc.tar.gz
CMake-5d9e78e91885e2e6d06e9f6b1901a3998f3dc5cc.tar.bz2
ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step.
Diffstat (limited to 'Modules/AddExternalProject.cmake')
-rw-r--r--Modules/AddExternalProject.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/AddExternalProject.cmake b/Modules/AddExternalProject.cmake
index acfccf5..7dcbe55 100644
--- a/Modules/AddExternalProject.cmake
+++ b/Modules/AddExternalProject.cmake
@@ -310,7 +310,6 @@ endfunction(add_external_project_download_command)
function(add_external_project_update_command name)
- set(added 0)
get_external_project_directories(base_dir build_dir downloads_dir install_dir
sentinels_dir source_dir tmp_dir)
@@ -373,6 +372,9 @@ function(add_external_project_update_command name)
COMMENT "Performing update step (CVS update) for '${name}'"
DEPENDS ${sentinels_dir}/${name}-download
)
+ # Since the update sentinel is not actually written:
+ set_property(SOURCE ${sentinels_dir}/${name}-update
+ PROPERTY SYMBOLIC 1)
return()
endif()
@@ -399,6 +401,9 @@ function(add_external_project_update_command name)
COMMENT "Performing update step (SVN update) for '${name}'"
DEPENDS ${sentinels_dir}/${name}-download
)
+ # Since the update sentinel is not actually written:
+ set_property(SOURCE ${sentinels_dir}/${name}-update
+ PROPERTY SYMBOLIC 1)
return()
endif()