summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2011-12-02 15:30:19 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2011-12-02 15:30:19 +0000
commitd4e5366fe64828c16c695e763e71e1b09dc68314 (patch)
tree36fceb8c026163e2e7e74c22ab907b19514d4aee /CMake
parentd7388d7e80b8d18090feca89c67e38a5d190fcbd (diff)
Simplify code. Use standard find_package call instead. ctest script will need to handle this now
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindKAKADU.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/CMake/FindKAKADU.cmake b/CMake/FindKAKADU.cmake
new file mode 100644
index 00000000..763304d6
--- /dev/null
+++ b/CMake/FindKAKADU.cmake
@@ -0,0 +1,19 @@
+#
+# this module looks for KAKADu
+# http://www.kakadusoftware.com/
+#
+#
+# Copyright (c) 2006-2011 Mathieu Malaterre <mathieu.malaterre@gmail.com>
+#
+# Redistribution and use is allowed according to the terms of the New
+# BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+#
+
+FIND_PROGRAM(KDU_EXPAND_EXECUTABLE
+ kdu_expand
+ )
+
+MARK_AS_ADVANCED(
+ KDU_EXPAND_EXECUTABLE
+ )