feat(build): to compile with FMOD support, WHOA_BUILD_FMOD must be passed into CMake

This commit is contained in:
phaneron 2024-07-21 18:39:52 -04:00
parent 5f3eadea1e
commit 2a46ce4d6d
3 changed files with 124 additions and 110 deletions

View file

@ -57,7 +57,7 @@ endif()
if (WHOA_SYSTEM_WIN OR WHOA_SYSTEM_LINUX)
target_link_libraries(gx
PRIVATE
SDL3::SDL3-static
SDL2::SDL2-static
libglew_static
)
endif()

View file

@ -13,6 +13,9 @@ target_link_libraries(sound
PRIVATE
ui
util
PUBLIC
fmod
)
if(WHOA_BUILD_FMOD)
target_link_libraries(sound PUBLIC fmod)
endif()