Require c++17

This commit is contained in:
King_DuckZ 2018-10-13 00:22:37 +01:00
parent fad08c40a0
commit 63cbf324ef

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.3 FATAL_ERROR) cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
project(duckhandy) project(duckhandy)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules) list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
@ -20,6 +20,7 @@ target_compile_features(${PROJECT_NAME}
INTERFACE cxx_decltype_incomplete_return_types INTERFACE cxx_decltype_incomplete_return_types
INTERFACE cxx_noexcept INTERFACE cxx_noexcept
INTERFACE cxx_rvalue_references INTERFACE cxx_rvalue_references
INTERFACE cxx_std_17
) )
target_include_directories(${PROJECT_NAME} target_include_directories(${PROJECT_NAME}