Don't directly link to libmpg123 on vcpkg

This commit is contained in:
Cacodemon345 2023-09-25 03:52:25 +06:00 committed by Christoph Oelckers
parent 3e1deba3a2
commit 33de9d93fc

View file

@ -90,7 +90,7 @@ else()
endif()
if(DYN_MPG123)
target_compile_definitions(zmusic-obj INTERFACE HAVE_MPG123 DYN_MPG123)
else()
elseif(NOT ("vcpkg-libsndfile" IN_LIST VCPKG_MANIFEST_FEATURES))
find_package(MPG123)
if(MPG123_FOUND)