Reformat CMake: Print location and version info
@@ -11,6 +11,8 @@ SCRIPTS_DIR=$(dirname "$0")
CMAKE_FORMAT=$(which cmake-format) && CMAKE_FORMAT_VERSION=$("$CMAKE_FORMAT" --version)
if [ -z "${CMAKE_FORMAT}" ] || [ "$CMAKE_FORMAT_VERSION" != "0.5.4" ]; then
+ printf >&2 'cmake-format: %s\n' "$CMAKE_FORMAT"
+ printf >&2 'Version: %s\n' "$CMAKE_FORMAT_VERSION"
printf >&2 'Please install `cmake-format` version 0.5.4\n'
exit 1
fi
