diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:54:16 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:54:16 (GMT) |
commit | f68e64e2d8488a57740cc5b2fb0f914a769c4e8e (patch) | |
tree | 326cc52c8644560a5e8175d7b3de80f35380c17e /Modules | |
parent | 9e0873f839db4e9e57ab65d753f55c7aa3d6b0fb (diff) | |
download | CMake-f68e64e2d8488a57740cc5b2fb0f914a769c4e8e.zip CMake-f68e64e2d8488a57740cc5b2fb0f914a769c4e8e.tar.gz CMake-f68e64e2d8488a57740cc5b2fb0f914a769c4e8e.tar.bz2 |
Remove code duplication. Call FindTcl.cmake, which also does the ADVANCED stuff.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Dart.cmake | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake index 5b593b7..d659cc7 100644 --- a/Modules/Dart.cmake +++ b/Modules/Dart.cmake @@ -35,12 +35,8 @@ IF(BUILD_TESTING) FIND_PROGRAM(PURIFYCOMMAND purify DOC "Path to Rational purify command, used for memory error detection.") # find a tcl shell command - IF (UNIX) - FIND_PROGRAM(TCL_TCLSH cygtclsh80 ) - ENDIF(UNIX) - FIND_PROGRAM(TCL_TCLSH - NAMES tclsh tclsh83 tclsh8.3 tclsh82 tclsh8.2 tclsh80 tclsh8.0 - ) + INCLUDE(${CMAKE_ROOT}/Modules/FindTCL.cmake) + FIND_PROGRAM(HOSTNAME hostname /usr/bsd /usr/sbin /usr/bin /bin /sbin) FIND_PROGRAM(NSLOOKUP nslookup /usr/bin /usr/sbin /usr/local/bin) |