[cpp] Removed required version 5.0 for CLang format
@@ -242,7 +242,10 @@ endif()
add_subdirectory(python)
# `make format` option
+if (NOT APPLE)
set(CLANG_FORMAT_VERSION "5.0")
+endif()
+
find_package(ClangTools)
set(BUILD_SUPPORT_DIR "${CMAKE_SOURCE_DIR}/build-support")
add_custom_target(format ${BUILD_SUPPORT_DIR}/run_clang_format.py
