mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 12:09:05 +08:00
7 lines
252 B
CMake
7 lines
252 B
CMake
|
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()
|