summaryrefslogtreecommitdiff
path: root/Modules/FindDart.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-28 10:27:30 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-28 10:27:30 -0500
commit7603244509ad40a5109476f20542bd43354ceba7 (patch)
treee8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/FindDart.cmake
parent7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff)
downloadcmake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz
ENH: use program files env for searching
Diffstat (limited to 'Modules/FindDart.cmake')
-rw-r--r--Modules/FindDart.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index 30d8789c97..35f6eb82ca 100644
--- a/Modules/FindDart.cmake
+++ b/Modules/FindDart.cmake
@@ -7,7 +7,8 @@ FIND_PATH(DART_ROOT README.INSTALL
$ENV{DART_ROOT}
${PROJECT_SOURCE_DIR}/Dart
/usr/share/Dart
- C:/Dart
+ C:/Dart
+ "$ENV{ProgramFiles}/Dart"
"C:/Program Files/Dart"
${PROJECT_SOURCE_DIR}/../Dart
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Dart\\InstallPath]