Add WavPack library

This commit is contained in:
Luciano Iam 2022-09-28 13:22:35 +02:00 committed by Paul Ferrand
parent 8b4ef10bcf
commit bca192de54
3 changed files with 7 additions and 0 deletions

3
.gitmodules vendored
View file

@ -13,3 +13,6 @@
[submodule "external/simde"] [submodule "external/simde"]
path = external/simde path = external/simde
url = https://github.com/simd-everywhere/simde.git url = https://github.com/simd-everywhere/simde.git
[submodule "external/st_audiofile/thirdparty/wavpack"]
path = external/st_audiofile/thirdparty/wavpack
url = https://github.com/dbry/WavPack.git

View file

@ -22,6 +22,9 @@ target_include_directories(st_audiofile_formats
add_subdirectory("thirdparty/libaiff" EXCLUDE_FROM_ALL) add_subdirectory("thirdparty/libaiff" EXCLUDE_FROM_ALL)
target_link_libraries(st_audiofile_formats PUBLIC aiff::aiff) target_link_libraries(st_audiofile_formats PUBLIC aiff::aiff)
add_subdirectory("thirdparty/wavpack" EXCLUDE_FROM_ALL)
target_link_libraries(st_audiofile_formats PUBLIC wavpack)
### ###
if(NOT ST_AUDIO_FILE_USE_SNDFILE) if(NOT ST_AUDIO_FILE_USE_SNDFILE)
target_link_libraries(st_audiofile PRIVATE st_audiofile_formats) target_link_libraries(st_audiofile PRIVATE st_audiofile_formats)

@ -0,0 +1 @@
Subproject commit 36b08dbcb1de136e9ae477e9f1e2b57c958fff18