[geos-commits] [SCM] GEOS branch main updated. 80a01c6cf6b26a406fc7ded889c1f47d84ea0596

git at osgeo.org git at osgeo.org
Thu Dec 12 06:06:37 PST 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  80a01c6cf6b26a406fc7ded889c1f47d84ea0596 (commit)
      from  ef8f6d974f4d4e8fed1b7f3263edb633da5c98fb (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 80a01c6cf6b26a406fc7ded889c1f47d84ea0596
Author: Daniel Baston <dbaston at gmail.com>
Date:   Thu Dec 12 09:02:55 2024 -0500

    CMake: Avoid building geos to build perf_class_sizes

diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt
index 9a991896e..692ef46d5 100644
--- a/benchmarks/CMakeLists.txt
+++ b/benchmarks/CMakeLists.txt
@@ -12,7 +12,10 @@
 find_package(benchmark QUIET)
 
 add_executable(perf_class_sizes ClassSizes.cpp)
-target_link_libraries(perf_class_sizes PRIVATE geos)
+target_include_directories(perf_class_sizes PRIVATE
+            $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+            $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>)
+target_link_libraries(perf_class_sizes PRIVATE geos_cxx_flags)
 
 add_subdirectory(capi)
 

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

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


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list