Hey, all. I'm attempting to follow the instructions listed here. I'm running MacOS Sequoia 15.7.1.
I'm getting errors with SDL2 in the build process. Have attempted to locate a solution with some good ol' Google Fu, but struggling to nail one down. Any help?
jkus@machine webp_js % emcmake cmake -DWEBP_BUILD_WEBP_JS=ON ../
emcmake: cmake -DWEBP_BUILD_WEBP_JS=ON ../ -DCMAKE_TOOLCHAIN_FILE=/Users/jkus/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/Users/jkus/emsdk/node/22.16.0_64bit/bin/node in directory /Users/jkus/libwebp/webp_js
-- Disabling AVX2 optimization.
-- Disabling AVX2 optimization.
-- Performing Test HAS_COMPILE_FLAG
-- Performing Test HAS_COMPILE_FLAG - Failed
-- Disabling SSE41 optimization.
-- Disabling SSE41 optimization.
-- Performing Test HAS_COMPILE_FLAG
-- Performing Test HAS_COMPILE_FLAG - Failed
CMake Error at CMakeLists.txt:730 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!