Skip to content

Commit

Permalink
fix: forced rconpp to be c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Dec 27, 2023
1 parent 820a1ea commit 9aced1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ set_target_properties(rconpp PROPERTIES
POSITION_INDEPENDENT_CODE true
)

target_compile_features(rconpp PRIVATE cxx_std_17)
target_compile_features(rconpp PRIVATE cxx_constexpr)
target_compile_features(rconpp PRIVATE cxx_lambdas)

if(BUILD_TESTS)
add_executable(unittest "unittest/test.cpp")
target_compile_features(unittest PRIVATE cxx_std_17)
Expand Down

0 comments on commit 9aced1c

Please sign in to comment.