summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindDart.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
new file mode 100644
index 0000000..4aa8daf
--- /dev/null
+++ b/Modules/FindDart.cmake
@@ -0,0 +1,11 @@
+#
+# this module looks for the dart testing software and sets DART_ROOT
+# to point to where it found it
+#
+
+FIND_PATH(DART_ROOT README.INSTALL
+ ${PROJECT_SOURCE_DIR}/Dart
+ /usr/share/Dart
+ "C:/Program Files/Dart"
+ [HKEY_LOCAL_MACHINE\SOFTWARE\Dart\InstallPath]
+ )