Use C++17 (requires Debian 9 to build)

This commit is contained in:
Dennis Felsing 2022-02-14 17:31:50 +01:00
parent 564de76b04
commit ca78c7821e

View file

@ -2803,7 +2803,7 @@ endforeach()
foreach(target ${TARGETS_OWN})
if((CMAKE_VERSION VERSION_GREATER 3.1 OR CMAKE_VERSION VERSION_EQUAL 3.1) AND NOT TARGET_OS STREQUAL "mac")
set_property(TARGET ${target} PROPERTY CXX_STANDARD 11)
set_property(TARGET ${target} PROPERTY CXX_STANDARD 17)
set_property(TARGET ${target} PROPERTY CXX_STANDARD_REQUIRED ON)
endif()