summaryrefslogtreecommitdiffstats
path: root/Modules/Dart.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Dart.cmake')
-rw-r--r--Modules/Dart.cmake8
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)