mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 14:29:02 +08:00
f0b32c558a
* Provide geos-config, and fix dynamic builds on Unix * x-add-version * Fix debug suffix handling * Update git-tree * Don't build benchmarks * Revise pc file and geos-config handling Fixup pc files. Add -lgeos to Libs.private to satisfy common usage requirement (already present in geos-config). Install executable geos-config into tools. Rewrite geos-config relocatability as patch. * Port to non-deprecated cmake functions * Add usage * Update git-tree
11 lines
324 B
Plaintext
11 lines
324 B
Plaintext
The package geos provides CMake targets:
|
|
|
|
# C API (provides long-term ABI stability)
|
|
find_package(GEOS CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE GEOS::geos_c)
|
|
|
|
# C++ API (will likely change across versions)
|
|
find_package(GEOS CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE GEOS::geos)
|
|
|