vcpkg/ports/gdal/usage

5 lines
198 B
Plaintext
Raw Normal View History

2020-08-22 06:44:23 +08:00
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})