CMake Error: WEBP_LIBRARIES NOTFOUND

When building aesprite on Windows I receive the following error:

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
WEBP_LIBRARIES
    linked by target "app-lib" in directory .../aseprite/src/app

The error seems to stem from this line in CMakeLists.txt:

I have downloaded skia, but do I need to build it in order for the WEBP_LIBRARIES variable to be set?

1 Like

Did you figure this out? I am getting these errors too. I built Skia from source hoping it would fix, but it doesn’t. I am on ubuntu btw

This guy had the same problem and solved it by correcting the paths to the skia directory.

I got the same error. The path to the SKIA folder was incorrect.
Since the SKIA folder was in the downloads, this path needs to be added.
-DLAF_BACKEND=skia
-DSKIA_DIR=$HOME/Downloads/skia
-DSKIA_LIBRARY_DIR=$HOME/Downloads/skia/out/Release-x64
-DSKIA_LIBRARY=$HOME/Downloads/skia/out/Release-x64/libskia.a
I got the same error. Wrong path to the SKIA folder.
Since the SKIA folder was in the downloads, this path had to be added.
-DLAF_BACKEND=skia
-DSKIA_DIR=$HOME/Downloads/skia
-DSKIA_LIBRARY_DIR=$HOME/Downloads/skia/out/Release-x64
-DSKIA_LIBRARY=$HOME/Downloads/skia/out/Release-x64/libskia.a \