]> Creatis software - gdcm.git/commitdiff
ENH: Adding a find rsync cmake module
authormalaterre <malaterre>
Tue, 7 Jun 2005 18:33:38 +0000 (18:33 +0000)
committermalaterre <malaterre>
Tue, 7 Jun 2005 18:33:38 +0000 (18:33 +0000)
CMake/FindRsync.cmake [new file with mode: 0644]

diff --git a/CMake/FindRsync.cmake b/CMake/FindRsync.cmake
new file mode 100644 (file)
index 0000000..c5cc694
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# This module finds if rsync is installed
+#
+#  RSYNC_EXECUTABLE         = full path to the pike binary
+#
+
+FIND_PROGRAM(RSYNC_EXECUTABLE
+  NAMES rsync
+  PATHS
+  /usr/bin
+  /usr/local/bin
+  )
+
+MARK_AS_ADVANCED(
+  RSYNC_EXECUTABLE
+  )