[geos-commits] [SCM] GEOS branch master updated. a22fc9916a6d5edea91c09545845772a0337de93

git at osgeo.org git at osgeo.org
Mon Feb 1 09:06:01 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, master has been updated
       via  a22fc9916a6d5edea91c09545845772a0337de93 (commit)
       via  21121b07f2b76c6ca5c70c0cbce1856f51238257 (commit)
      from  fff6a78b4567339a5beab9ab30c3abb15c05fb60 (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 a22fc9916a6d5edea91c09545845772a0337de93
Merge: fff6a78 21121b0
Author: Daniel Baston <dbaston at gmail.com>
Date:   Mon Feb 1 11:40:38 2021 -0500

    Merge remote-tracking branch 'ffontaine/master'


commit 21121b07f2b76c6ca5c70c0cbce1856f51238257
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>

diff --git a/CMakeLists.txt b/CMakeLists.txt
index df264f2..14e7fee 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)
@@ -292,7 +293,9 @@ endif()
 #-----------------------------------------------------------------------------
 # Benchmarks
 #-----------------------------------------------------------------------------
-add_subdirectory(benchmarks)
+if(BUILD_BENCHMARKS)
+  add_subdirectory(benchmarks)
+endif()
 
 #-----------------------------------------------------------------------------
 # Utils

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

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