Skip to content

Commit

Permalink
[cpp] Removed required version 5.0 for CLang format (apache#2790)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Oct 18, 2018
1 parent 8d69ad8 commit 251e36e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pulsar-client-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ endif()
add_subdirectory(python)

# `make format` option
set(CLANG_FORMAT_VERSION "5.0")
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
Expand Down

0 comments on commit 251e36e

Please sign in to comment.