Skip to content

Commit

Permalink
set cxx 17
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Jun 1, 2024
1 parent 25532fe commit 0cec8f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/client/petstore/cpp-restsdk/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ project(CppRestPetstoreClient CXX)
# Force -fPIC even if the project is configured for building a static library.
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

set(CMAKE_CXX_STANDARD 17)

set(CXX_STANDARD_REQUIRED ON)
if(NOT CMAKE_CXX_STANDARD)
if(DEFINED CMAKE_CXX20_STANDARD_COMPILE_OPTION OR
Expand Down

0 comments on commit 0cec8f7

Please sign in to comment.