diff --git a/cmake/external/protobuf.cmake b/cmake/external/protobuf.cmake index 5612644..c1f4d69 100644 --- a/cmake/external/protobuf.cmake +++ b/cmake/external/protobuf.cmake @@ -167,7 +167,7 @@ ExternalProject_Add(${PROTOBUF_TARGET} -DCMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=${CMAKE_CXX_COMPILER_LAUNCHER} -DCMAKE_C_FLAGS=${PROTOBUF_CFLAGS} -DCMAKE_CXX_FLAGS=${PROTOBUF_CXXFLAGS} - -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} + -DCMAKE_CXX_STANDARD=14 -Dprotobuf_BUILD_TESTS=OFF BUILD_BYPRODUCTS ${PROTOBUF_BUILD_BYPRODUCTS} )