summaryrefslogtreecommitdiffstats
path: root/Modules/FindDart.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindDart.cmake')
-rw-r--r--Modules/FindDart.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index 13e19be..b6ea9e0 100644
--- a/Modules/FindDart.cmake
+++ b/Modules/FindDart.cmake
@@ -17,7 +17,9 @@
# License text for the above reference.)
find_path(DART_ROOT README.INSTALL
- $ENV{DART_ROOT}
+ HINTS
+ ENV DART_ROOT
+ PATHS
${PROJECT_SOURCE_DIR}/Dart
/usr/share/Dart
C:/Dart