summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-15 22:11:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-15 22:11:26 (GMT)
commit407afb906c6f3627d14acd959fb518d16caa5d7b (patch)
treed54bf9fbdaceddb600e45c262aab4f8c8b400c20 /Modules
parenta6f5f8395ce28d50f28ce322f53c4390214ff956 (diff)
downloadCMake-407afb906c6f3627d14acd959fb518d16caa5d7b.zip
CMake-407afb906c6f3627d14acd959fb518d16caa5d7b.tar.gz
CMake-407afb906c6f3627d14acd959fb518d16caa5d7b.tar.bz2
closer to nmake working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND used by Dart, nmake makefiles work with borland make and nmake
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Dart.cmake12
1 files changed, 3 insertions, 9 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake
index ba0d9f4..957ff4d 100644
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
@@ -24,15 +24,9 @@ IF(BUILD_TESTING)
# the project must have a DartConfig.cmake file
INCLUDE(${PROJECT_SOURCE_DIR}/DartConfig.cmake)
- # find programs used by testing
- # look for the make program
- IF( BCB_BIN_PATH )
- FIND_PROGRAM(MAKEPROGRAM make ${BCB_BIN_PATH} )
- ENDIF( BCB_BIN_PATH )
- IF(NOT UNIX)
- FIND_PROGRAM(MAKEPROGRAM msdev )
- ENDIF(NOT UNIX)
- FIND_PROGRAM(MAKEPROGRAM NAMES gmake make )
+ # make program just needs to use CMAKE_MAKE_PROGRAM which is required
+ # to be defined by cmake
+ SET(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM})
FIND_PROGRAM(CVSCOMMAND cvs )
FIND_PROGRAM(COMPRESSIONCOMMAND NAMES gzip compress zip )
FIND_PROGRAM(GUNZIPCOMMAND gunzip )