[geos-commits] [SCM] GEOS branch 3.9 updated. 6269bb929bf041ae09cdaa2e111def5146a524e3

git at osgeo.org git at osgeo.org
Mon Feb 1 09:08:12 PST 2021


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, 3.9 has been updated
       via  6269bb929bf041ae09cdaa2e111def5146a524e3 (commit)
      from  546f7846f548cbcafe65605f95641aa40f7db443 (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 6269bb929bf041ae09cdaa2e111def5146a524e3
Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Date:   Sat Jan 30 11:20:29 2021 +0100

    CMakeLists.txt: add BUILD_BENCHMARKS
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
    
    References https://github.com/libgeos/geos/pull/395

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac53e3c..89ba1a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,6 +48,7 @@ option(BUILD_SHARED_LIBS "Build GEOS with shared libraries" ON)
 set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard version to use (default is 11)")
 
 ## GEOS custom variables
+option(BUILD_BENCHMARKS "Build GEOS benchmarks" ON)
 cmake_dependent_option(GEOS_BUILD_DEVELOPER
   "Build with compilation flags useful for development" ON
   "GEOS_BUILD_FROM_GIT" OFF)
@@ -282,7 +283,9 @@ endif()
 #-----------------------------------------------------------------------------
 # Benchmarks
 #-----------------------------------------------------------------------------
-add_subdirectory(benchmarks)
+if(BUILD_BENCHMARKS)
+  add_subdirectory(benchmarks)
+endif()
 
 #-----------------------------------------------------------------------------
 # Documentation/Examples

-----------------------------------------------------------------------

Summary of changes:
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list