mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use C++17 (requires Debian 9 to build)
This commit is contained in:
parent
564de76b04
commit
ca78c7821e
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue