mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:39:07 +08:00
5b539db37e
* [gdal] Add feature 'kea' * [gdal] Accept (vcpkg) interface and alias targets
14 lines
512 B
CMake
14 lines
512 B
CMake
if(GDAL_USE_KEA)
|
|
find_package(Kealib CONFIG REQUIRED)
|
|
add_library(KEA::KEA ALIAS Kealib::Kealib)
|
|
set(GDAL_CHECK_PACKAGE_KEA_NAMES Kealib CACHE INTERNAL "vcpkg")
|
|
set(GDAL_CHECK_PACKAGE_KEA_TARGETS Kealib::Kealib CACHE INTERNAL "vcpkg")
|
|
endif()
|
|
|
|
if(GDAL_USE_WEBP)
|
|
find_package(WebP CONFIG REQUIRED)
|
|
add_library(WEBP::WebP ALIAS WebP::webp)
|
|
set(GDAL_CHECK_PACKAGE_WebP_NAMES WebP CACHE INTERNAL "vcpkg")
|
|
set(GDAL_CHECK_PACKAGE_WebP_TARGETS WebP::webp CACHE INTERNAL "vcpkg")
|
|
endif()
|