mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-14 10:10:52 +03:00
feat(build): to compile with FMOD support, WHOA_BUILD_FMOD must be passed into CMake
This commit is contained in:
1 parent
5f3eadea1e
commit
2a46ce4d6d
3 files changed
+124
-110
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user