From 777be354a718c42010e35cafbe97af4556db7341 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 25 Sep 2023 03:52:25 +0600 Subject: [PATCH] Don't directly link to libmpg123 on vcpkg --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 3812732..7b165c6 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -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)