mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(build): to compile with FMOD support, WHOA_BUILD_FMOD must be passed into CMake
This commit is contained in:
parent
5f3eadea1e
commit
2a46ce4d6d
3 changed files with 124 additions and 110 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ target_link_libraries(sound
|
|||
PRIVATE
|
||||
ui
|
||||
util
|
||||
PUBLIC
|
||||
fmod
|
||||
)
|
||||
|
||||
if(WHOA_BUILD_FMOD)
|
||||
target_link_libraries(sound PUBLIC fmod)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue