On Wed, Feb 14, 2024 at 9:06 PM Kai Pastor, DG0YT wrote:
>
> Did you try to quote for the linux command line, instead of escaping:
>
> "-DWEBP_LIBRARY=/usr/local/devlibs/libwebp-1.3.2/lib64/libwebp.a;/usr/local/devlibs/libwebp-1.3.2/lib64/libsharpyuv.a"
>
> (YMMV. "LIBRARY" usually isn't for list
E file:
>
> 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")
rry I over-complicated my question!
carl
On Tue, Feb 13, 2024 at 10:45 AM Andrew C Aitchison
wrote:
> On Tue, 13 Feb 2024, Carl Godkin via gdal-dev wrote:
>
> > Hi,
> >
> > Sorry if this is an elementary cmake question but I am curious if there
> is
> >
Hi,
Sorry if this is an elementary cmake question but I am curious if there is
a cleaner solution than I came up with.
I'm trying to build GDAL 3.8.3 with WEBP support.
I built libwebp 1.3.2 (the latest) without any problems, also using cmake.
However, when building GDAL, the link on the shared