diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-08 20:36:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-08 20:36:51 (GMT) |
commit | 1b40075c9c080ab52304803b12765e166dcad563 (patch) | |
tree | 83d909059c92be964639afd7fc3971e5670d7709 /Utilities/Release/release_cmake.cmake | |
parent | 1d8043cb4fd6c1bfa3091ea11cd8cde956fcfb99 (diff) | |
download | CMake-1b40075c9c080ab52304803b12765e166dcad563.zip CMake-1b40075c9c080ab52304803b12765e166dcad563.tar.gz CMake-1b40075c9c080ab52304803b12765e166dcad563.tar.bz2 |
ENH: add make program stuff
Diffstat (limited to 'Utilities/Release/release_cmake.cmake')
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 1b7b138..c1ef5ff 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -4,6 +4,12 @@ get_filename_component(SCRIPT_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH) if(NOT DEFINED CMAKE_RELEASE_DIRECTORY) set(CMAKE_RELEASE_DIRECTORY "~/CMakeReleaseDirectory") endif(NOT DEFINED CMAKE_RELEASE_DIRECTORY) +if(NOT DEFINED MAKE_COMMAND) + message(FATAL_ERROR "MAKE_COMMAND must be set") +endif(NOT DEFINED MAKE_COMMAND) +if(NOT DEFINED MAKE) + set(MAKE "${MAKE_COMMAND}") +endif(NOT DEFINED MAKE) if(NOT DEFINED RUN_SHELL) set(RUN_SHELL "/bin/sh") endif(NOT DEFINED RUN_SHELL) |