Unverified Commit a72da27f authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #4475 from chenchuanyin/patch-1

Fix problem: cmake build failed in c++11  by clang
parents e7e6c6b8 d3e8a540
......@@ -15,6 +15,9 @@ endif()
# Project
project(protobuf C CXX)
# Add c++11 flags for clang
set(CMAKE_CXX_FLAGS "-std=c++11")
# Options
option(protobuf_BUILD_TESTS "Build tests" ON)
option(protobuf_BUILD_EXAMPLES "Build examples" OFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment