diff options
| author | Mateusz Loskot <mateusz@loskot.net> | 2018-05-18 08:42:45 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-05-17 23:42:45 -0700 |
| commit | 2978f18ad33b138581d06badae64ad08fdff4653 (patch) | |
| tree | 187ba48352bf6de4b5b3ac57c774525bd66b1831 /ports/pdal/FindGDAL.cmake | |
| parent | 2988f8577b8ee3e977c187401af544e9eae4ff7b (diff) | |
| download | vcpkg-2978f18ad33b138581d06badae64ad08fdff4653.tar.gz vcpkg-2978f18ad33b138581d06badae64ad08fdff4653.zip | |
Add PDAL 1.7.1 (#3452)
* Add PDAL 1.7.1
First stab at porting PDAL (https://pdal.io), creates package:
- with minimal set of required dependencies
- with dynamic library only - dependency GDAL does not build as static
- with pdal executable
* [pdal] Allow building static libs on top of DLLs.
Diffstat (limited to 'ports/pdal/FindGDAL.cmake')
| -rw-r--r-- | ports/pdal/FindGDAL.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/pdal/FindGDAL.cmake b/ports/pdal/FindGDAL.cmake new file mode 100644 index 000000000..9683cb0e5 --- /dev/null +++ b/ports/pdal/FindGDAL.cmake @@ -0,0 +1,13 @@ +find_path(GDAL_INCLUDE_DIR gdal.h)
+
+find_library(GDAL_LIBRARY_DEBUG NAMES gdald)
+find_library(GDAL_LIBRARY_RELEASE NAMES gdal)
+
+include(SelectLibraryConfigurations)
+select_library_configurations(GDAL)
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(
+ GDAL DEFAULT_MSG
+ GDAL_LIBRARY GDAL_INCLUDE_DIR
+)
|
