diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 00:23:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 00:23:33 +0000 |
commit | 4645c7cb90339047afbb31ebbe2a5f95c0e27642 (patch) | |
tree | 6fd5c26252d20808c5fa350f4812b61cbb6aa238 /dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch | |
parent | 28a728c3b7d6f927c4aa3ac992d49be08cabe82f (diff) |
dev-util/lxqt-build-tools : revision bump
Diffstat (limited to 'dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch')
-rw-r--r-- | dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch new file mode 100644 index 00000000..48fd1f2c --- /dev/null +++ b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch @@ -0,0 +1,27 @@ +From 4a3a7038b1927dc43942a930db103023efdcbe2c Mon Sep 17 00:00:00 2001 +From: Simon Quigley <simon@tsimonq2.net> +Date: Wed, 25 Jan 2023 09:39:41 -0600 +Subject: [PATCH] Bump the minimum compatibility level to C++17. + +--- + cmake/modules/LXQtCompilerSettings.cmake | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/LXQtCompilerSettings.cmake b/cmake/modules/LXQtCompilerSettings.cmake +index a8cb16d..acba891 100644 +--- a/cmake/modules/LXQtCompilerSettings.cmake ++++ b/cmake/modules/LXQtCompilerSettings.cmake +@@ -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") + + + #----------------------------------------------------------------------------- |