1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-12-20 18:25:12 -06:00
Files
suyu-mirror/externals/CMakeLists.txt
lat9nq b021e09fc0 externals: Use SDL2 statically
Building it as a shared library causes issues distributing it to an
AppImage, since linuxdeploy expects the executable to only dynamically
link to system libraries. Additionally, simply dynamically linking to a
library in the binary directory is bound to cause issues.

Solution is to use SDL's CMake switches and build it statically. We also
alias `SDL2` to `SDL2-static` on the external submodule for
compatibility with the rest of the project.
2021-05-09 02:38:46 -04:00

3.0 KiB
Vendored