Skip to content

Commit

Permalink
CMake: Avoid building geos to build perf_class_sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Dec 12, 2024
1 parent ef8f6d9 commit 80a01c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 80a01c6

Please # to comment.