windows-amd64-prebuilt-libr.../vcpkg/ports/gdal/usage
2020-10-10 14:36:42 +02:00

5 lines
198 B
Plaintext

The package GDAL provides CMake targets:
find_package(GDAL REQUIRED)
target_include_directories(main PRIVATE ${GDAL_INCLUDE_DIR})
target_link_libraries(main PRIVATE ${GDAL_LIBRARY})