diff -Nrup a/mpc2sv8/CMakeLists.txt b/mpc2sv8/CMakeLists.txt --- a/mpc2sv8/CMakeLists.txt 2023-03-30 10:31:26.845199476 +0200 +++ b/mpc2sv8/CMakeLists.txt 2023-03-30 11:43:29.197618391 +0200 @@ -13,7 +13,7 @@ endif(MSVC) add_executable(mpc2sv8 mpc2sv8.c) if(SHARED) - target_link_libraries(mpc2sv8 mpcdec) + target_link_libraries(mpc2sv8 mpcdec_shared) else(SHARED) target_link_libraries(mpc2sv8 mpcdec_static) endif(SHARED) diff -Nrup a/mpcchap/CMakeLists.txt b/mpcchap/CMakeLists.txt --- a/mpcchap/CMakeLists.txt 2023-03-30 10:31:26.847199500 +0200 +++ b/mpcchap/CMakeLists.txt 2023-03-30 11:45:19.722897575 +0200 @@ -15,7 +15,7 @@ link_directories(${libmpc_BINARY_DIR}/li add_executable(mpcchap mpcchap.c dictionary.c iniparser.c ${libmpc_SOURCE_DIR}/common/tags.c) if(SHARED) - target_link_libraries(mpcchap mpcdec) + target_link_libraries(mpcchap mpcdec_shared) else(SHARED) target_link_libraries(mpcchap mpcdec_static) endif(SHARED) diff -Nrup a/mpccut/CMakeLists.txt b/mpccut/CMakeLists.txt --- a/mpccut/CMakeLists.txt 2023-03-30 10:31:26.971200948 +0200 +++ b/mpccut/CMakeLists.txt 2023-03-30 11:46:13.270517443 +0200 @@ -13,7 +13,7 @@ endif(MSVC) add_executable(mpccut mpccut.c) if(SHARED) - target_link_libraries(mpccut mpcdec) + target_link_libraries(mpccut mpcdec_shared) else(SHARED) target_link_libraries(mpccut mpcdec_static) endif(SHARED) diff -Nrup a/mpcdec/CMakeLists.txt b/mpcdec/CMakeLists.txt --- a/mpcdec/CMakeLists.txt 2023-03-30 10:31:26.963200854 +0200 +++ b/mpcdec/CMakeLists.txt 2023-03-30 11:43:15.447459279 +0200 @@ -15,7 +15,7 @@ add_executable(mpcdec_cmd mpcdec.c) target_link_libraries(mpcdec_cmd wavformat_static) if(SHARED) - target_link_libraries(mpcdec_cmd mpcdec) + target_link_libraries(mpcdec_cmd mpcdec_shared) else(SHARED) target_link_libraries(mpcdec_cmd mpcdec_static) endif(SHARED) diff -Nrup a/mpcgain/CMakeLists.txt b/mpcgain/CMakeLists.txt --- a/mpcgain/CMakeLists.txt 2023-03-30 10:31:26.927200434 +0200 +++ b/mpcgain/CMakeLists.txt 2023-03-30 11:43:01.592298958 +0200 @@ -20,7 +20,7 @@ add_executable(mpcgain mpcgain.c) target_link_libraries(mpcgain ${REPLAY_GAIN_LIBRARY}) if(SHARED) - target_link_libraries(mpcgain mpcdec) + target_link_libraries(mpcgain mpcdec_shared) else(SHARED) target_link_libraries(mpcgain mpcdec_static) endif(SHARED)