pineapple/externals/vcpkg/ports/geos/usage

11 lines
324 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
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)