mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 09:37:50 +08:00
5 lines
198 B
Plaintext
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})
|