Enable C++17

This commit is contained in:
seelabs
2019-03-22 09:19:35 -04:00
committed by Nik Bougalis
parent c699864c85
commit c217baa367
5 changed files with 14 additions and 80 deletions

View File

@@ -478,7 +478,8 @@ add_library (Ripple::common ALIAS common)
link_libraries (Ripple::common)
set_target_properties (common
PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
target_compile_features (common INTERFACE cxx_std_14)
set(CMAKE_CXX_EXTENSIONS OFF)
target_compile_features (common INTERFACE cxx_std_17)
target_compile_definitions (common
INTERFACE
$<$<CONFIG:Debug>:DEBUG _DEBUG>