aboutsummaryrefslogtreecommitdiffstats
path: root/libccnx-transport-rta/cmake/Modules/FindUncrustify.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libccnx-transport-rta/cmake/Modules/FindUncrustify.cmake')
-rw-r--r--libccnx-transport-rta/cmake/Modules/FindUncrustify.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/libccnx-transport-rta/cmake/Modules/FindUncrustify.cmake b/libccnx-transport-rta/cmake/Modules/FindUncrustify.cmake
new file mode 100644
index 00000000..e53f65fe
--- /dev/null
+++ b/libccnx-transport-rta/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}" )