mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 19:45:35 +08:00
2978f18ad3
* 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.
14 lines
346 B
CMake
14 lines
346 B
CMake
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
|
|
)
|