vcpkg/ports/pdal/FindGeoTIFF.cmake
Mateusz Loskot 2978f18ad3 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.
2018-05-17 23:42:45 -07:00

14 lines
377 B
CMake

find_path(GEOTIFF_INCLUDE_DIR geotiff.h)
find_library(GEOTIFF_LIBRARY_DEBUG NAMES geotiff_d)
find_library(GEOTIFF_LIBRARY_RELEASE NAMES geotiff)
include(SelectLibraryConfigurations)
select_library_configurations(GEOTIFF)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
GEOTIFF DEFAULT_MSG
GEOTIFF_LIBRARY GEOTIFF_INCLUDE_DIR
)