diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-14 19:24:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-14 19:24:57 (GMT) |
commit | b2c8f4d800d32110329794cda407d219ce139a50 (patch) | |
tree | 84784fa587795191430798a37bbc5fa00441edf1 /Utilities/Release/release_cmake.cmake | |
parent | 635aee01cb0b1bffa51b2327251db0ffcc9d0f29 (diff) | |
download | CMake-b2c8f4d800d32110329794cda407d219ce139a50.zip CMake-b2c8f4d800d32110329794cda407d219ce139a50.tar.gz CMake-b2c8f4d800d32110329794cda407d219ce139a50.tar.bz2 |
ENH: extra path
Diffstat (limited to 'Utilities/Release/release_cmake.cmake')
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 20a6c3d..005836a 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -11,9 +11,6 @@ endif(DEFINED EXTRA_COPY) if(NOT DEFINED CMAKE_RELEASE_DIRECTORY) set(CMAKE_RELEASE_DIRECTORY "~/CMakeReleaseDirectory") endif(NOT DEFINED CMAKE_RELEASE_DIRECTORY) -if(NOT DEFINED FINAL_PATH ) - set(FINAL_PATH ${CMAKE_RELEASE_DIRECTORY}/${CMAKE_VERSION}-build) -endif(NOT DEFINED FINAL_PATH ) if(NOT DEFINED SCRIPT_NAME) set(SCRIPT_NAME "${HOST}") endif(NOT DEFINED SCRIPT_NAME) @@ -43,6 +40,10 @@ else("${CMAKE_VERSION}" STREQUAL "CVS") set( CMAKE_CHECKOUT "${CVS_COMMAND} -q -z3 -d ${CVSROOT} export -r ${CMAKE_VERSION} ") endif("${CMAKE_VERSION}" STREQUAL "CVS") +if(NOT DEFINED FINAL_PATH ) + set(FINAL_PATH ${CMAKE_RELEASE_DIRECTORY}/${CMAKE_VERSION}-build) +endif(NOT DEFINED FINAL_PATH ) + if(NOT HOST) message(FATAL_ERROR "HOST must be specified with -DHOST=host") endif(NOT HOST) |