mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 07:39:02 +08:00
15 lines
383 B
Plaintext
15 lines
383 B
Plaintext
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)
|
|
|
|
geos provides pkg-config modules:
|
|
|
|
# Geometry Engine, Open Source - C API
|
|
geos
|