pineapple/externals/vcpkg/ports/gdal/usage

6 lines
203 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package GDAL provides CMake targets:
find_package(GDAL REQUIRED)
target_include_directories(main PRIVATE ${GDAL_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${GDAL_LIBRARIES})