From d2e93e8f8dbd682142fc0a63143fad4e52b4f51c Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 5 Apr 2002 10:51:14 -0500 Subject: improved finding purify on windows to use registry --- Modules/Dart.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake index 7c3ea1c..288a085 100644 --- a/Modules/Dart.cmake +++ b/Modules/Dart.cmake @@ -38,7 +38,10 @@ IF(BUILD_TESTING) DOC "Path to program used to compress files for transfer to the dart server") FIND_PROGRAM(GUNZIPCOMMAND gunzip DOC "Path to gunzip executable") FIND_PROGRAM(JAVACOMMAND java DOC "Path to java command, used by the Dart server to create html.") - FIND_PROGRAM(PURIFYCOMMAND purify DOC "Path to Rational purify command, used for memory error detection.") + FIND_PROGRAM(PURIFYCOMMAND purify + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Rational Software\\Purify\\Setup;InstallFolder]" + DOC "Path to Rational purify command, used for memory error detection." + ) FIND_PROGRAM(SCPCOMMAND scp DOC "Path to scp command, used by some Dart clients for submitting results to a Dart server (when not using ftp for submissions)") # find a tcl shell command -- cgit v0.12