Merge pull request #83 from lxqt/cpp17

Bump the minimum compatibility level to C++17
This commit is contained in:
Simon Quigley 2023-02-02 17:10:02 -06:00 committed by GitHub
commit 8e53618a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -181,11 +181,11 @@ endif()
#-----------------------------------------------------------------------------
# CXX14 requirements - no checks, we just set it
# CXX17 requirements - no checks, we just set it
#-----------------------------------------------------------------------------
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ ISO Standard")
set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ ISO Standard")
#-----------------------------------------------------------------------------