Require c++17
This commit is contained in:
parent
fad08c40a0
commit
63cbf324ef
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue