Skip to content

Commit

Permalink
Switch to c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Apr 25, 2023
1 parent c390388 commit 3b28530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ include_directories(${LIBLZMA_INCLUDE_DIRS})
find_package(ZLIB)
include_directories(${ZLIB_INCLUDE_DIRS})

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down
1 change: 1 addition & 0 deletions cmake/external/protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,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}
-Dprotobuf_BUILD_TESTS=OFF
BUILD_BYPRODUCTS ${PROTOBUF_BUILD_BYPRODUCTS}
)
Expand Down

0 comments on commit 3b28530

Please sign in to comment.