summaryrefslogtreecommitdiffstats
path: root/Modules/FindDart.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
commit7603244509ad40a5109476f20542bd43354ceba7 (patch)
treee8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/FindDart.cmake
parent7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff)
downloadCMake-7603244509ad40a5109476f20542bd43354ceba7.zip
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.bz2
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 30d8789..35f6eb8 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]