aboutsummaryrefslogtreecommitdiff
path: root/ports/gdal/usage
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-08-21 15:44:23 -0700
committerGitHub <noreply@github.com>2020-08-21 15:44:23 -0700
commit791a18385a697c37c5bbbe9da0bdbb38644097b4 (patch)
tree5f8ab66906ef968fae83833e326a13690db1cabe /ports/gdal/usage
parentfc7bab58e266ad6283ccbc3f2c668c8a2439b456 (diff)
downloadvcpkg-791a18385a697c37c5bbbe9da0bdbb38644097b4.tar.gz
vcpkg-791a18385a697c37c5bbbe9da0bdbb38644097b4.zip
[gdal] Fix static build issue (#12541)
Diffstat (limited to 'ports/gdal/usage')
-rw-r--r--ports/gdal/usage5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/gdal/usage b/ports/gdal/usage
new file mode 100644
index 000000000..2ee0072ac
--- /dev/null
+++ b/ports/gdal/usage
@@ -0,0 +1,5 @@
+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}) \ No newline at end of file