[geos-commits] [SCM] GEOS branch main updated. e142764b77f4b8d0c36ec88406300c5f876743fb
git at osgeo.org
git at osgeo.org
Wed Sep 25 15:41:27 PDT 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, main has been updated
via e142764b77f4b8d0c36ec88406300c5f876743fb (commit)
from c85a07d57505fc8ea6502756e9c4dde67e228cd3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e142764b77f4b8d0c36ec88406300c5f876743fb
Author: Howard Butler <howard at hobu.co>
Date: Wed Sep 25 17:41:07 2024 -0500
Bump minimum C++ standard to 17 (#1144)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c5548cecc..dcf03178f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -121,7 +121,7 @@ include(CMakeDependentOption)
## CMake global variables
option(BUILD_SHARED_LIBS "Build GEOS with shared libraries" ON)
-set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard version to use (default is 14)")
+set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard version to use (minimum requirement is c++17)")
## GEOS custom variables
option(BUILD_BENCHMARKS "Build GEOS benchmarks" OFF)
@@ -203,7 +203,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
# Target geos_cxx_flags: common compilation flags
#-----------------------------------------------------------------------------
add_library(geos_cxx_flags INTERFACE)
-target_compile_features(geos_cxx_flags INTERFACE cxx_std_11)
+target_compile_features(geos_cxx_flags INTERFACE cxx_std_17)
#-----------------------------------------------------------------------------
# Add flags to prevent 'fused multiply-add' operations on targets (ARM64)
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list