12 Commits

Author SHA1 Message Date
dobbry-vechur 6de37a3430 Remove SDL2 from the build systems
- deleted the SDL2 branches and the bundled FindSDL2 modules
- made SDL3=0 and USE_SDL3=OFF hard errors
2026-08-12 05:46:34 +04:00
alef 280ec08417 Add MSYS2 static libraries to SDL2_mixer 2025-12-29 01:14:13 +01:00
alef 5bde7a2013 Remove dynamic shared objects from MSYS2 build 2024-01-23 18:37:09 +01:00
alef 267ab9498c Statically link all MSYS2/MINGW64 libraries 2024-01-23 18:37:09 +01:00
alef 9e96cd424e Move pkg-config required FLAC dependency inside conditions 2023-09-30 15:33:27 +02:00
alef 9f9773f482 Add INTERFACE_INCLUDE_DIRECTORIES to SDL2 targets 2023-09-30 15:33:27 +02:00
alef 3a223bc438 Small fixes in CMake build in Linux devcontainer (#68300)
* Resolve more dependencies for the container

* Use dynamic linking for non-VCPKG configuration

* Fix typo for pkg-config

* Link FLAC libraries for dynamic linking too
2023-09-24 23:41:19 -05:00
alef 46adf3cbfd Removing libzip not required for dynamic linking 2023-06-12 19:10:32 +02:00
alef 891258a9dc Add more required libs to SDL2_image imported target 2023-06-12 19:10:32 +02:00
alef ea8dfc8be3 Add SDL2 targets for dynamic linking 2023-06-12 19:10:32 +02:00
alef bdd1c57f4e Use pkg-config to help finding mostly static libraries
The FindSDL2*.cmake modules create the *::*-static imported targets
like VCPKG does. This way we can reuse the same names and reduce the
complexity in the main and src CMakeLists.txt.
2023-06-12 19:10:32 +02:00
alef a27e10dd8c Do not use our Find* modules under VCPKG 2022-10-19 17:58:49 +02:00