FNA-XNA / FAudio

FAudio - Accuracy-focused XAudio reimplementation for open platforms
https://fna-xna.github.io/
Other
546 stars 73 forks source link

build: fix dependency on SDL2 #335

Closed rkitover closed 6 months ago

rkitover commented 6 months ago

This is a followup on 81d5a24 (build: fix building with MSVC, 2024-03-07) and 68a555e (build: fix attribute((aligned(x))) on gcc/clang, 2024-03-09) for the purposes of creating a vcpkg FAudio port.

Add a Requires.private: sdl2 to the pkgconf file for the SDL2 dependency when not using PLATFORM_WIN32.

Add the SDL2 dependency to the generated cmake config file when not using PLATFORM_WIN32 as well.

rkitover commented 6 months ago

@flibitijibibo wanted to give you an update, my faudio port for vcpkg has been merged, and I also fixed the MSYS2 faudio package to use PLATFORM_WIN32.