Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-15 Thread Carl Godkin via gdal-dev
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

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-14 Thread Kai Pastor, DG0YT via gdal-dev
Am 15.02.24 um 00:42 schrieb Carl Godkin: Hi Kai, > To pass lists into cmake, you usually need ';' as item separator. Thanks for the suggestion.  I am sure I am missing something but inserting a semi-colon on the Linux command line appears to require it be escaped. When I pass this:

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-14 Thread Carl Godkin via gdal-dev
Hi Kai, > To pass lists into cmake, you usually need ';' as item separator. Thanks for the suggestion. I am sure I am missing something but inserting a semi-colon on the Linux command line appears to require it be escaped. When I pass this:

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Kai Pastor, DG0YT via gdal-dev
To pass lists into cmake, you usually need ';' as item separator. (Exception: CMAKE__FLAGS which is a command line fragment with space-separated items.) In vcpkg, webp is configured via a CMAKE_PROJECT_INCLUDE file: if(GDAL_USE_WEBP)     find_package(WebP CONFIG REQUIRED)    

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Carl Godkin via gdal-dev
Hi Andrew, Thanks for replying. I am not looking for ways to edit CMakeLists.txt files, especially since I don't really understand the syntax. I was just hoping that someone who had built GDAL with WEBP enabled would tell me how to specify both libraries to cmake on the command line. Sorry I

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Andrew C Aitchison via gdal-dev
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 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

[gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Carl Godkin via gdal-dev
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