summaryrefslogtreecommitdiffstats
path: root/libparc/cmake/Modules/FindUncrustify.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libparc/cmake/Modules/FindUncrustify.cmake')
-rw-r--r--libparc/cmake/Modules/FindUncrustify.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/libparc/cmake/Modules/FindUncrustify.cmake b/libparc/cmake/Modules/FindUncrustify.cmake
new file mode 100644
index 00000000..e53f65fe
--- /dev/null
+++ b/libparc/cmake/Modules/FindUncrustify.cmake
@@ -0,0 +1,8 @@
+# Find uncrustify program
+#
+find_program( UNCRUSTIFY_BIN uncrustify
+ PATHS
+ $ENV{UNCRUSTIFY_HOME}
+ )
+
+message( "-- UNCRUSTIFY found in ${UNCRUSTIFY_BIN}" )