From 80a01c6cf6b26a406fc7ded889c1f47d84ea0596 Mon Sep 17 00:00:00 2001 From: Daniel Baston Date: Thu, 12 Dec 2024 09:02:55 -0500 Subject: [PATCH] CMake: Avoid building geos to build perf_class_sizes --- benchmarks/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 9a991896e4..692ef46d58 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 + $ + $) +target_link_libraries(perf_class_sizes PRIVATE geos_cxx_flags) add_subdirectory(capi)