diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index bb1a209e..0acfe0ac 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -32,6 +32,8 @@ if(ENABLE_SERVER_LIB) PRIVATE ${COMPILE_DEFINITIONS}) target_compile_options(MediaServer PRIVATE ${COMPILE_OPTIONS_DEFAULT}) + target_link_libraries(MediaServer + PRIVATE ${MK_LINK_LIBRARIES}) update_cached(MK_LINK_LIBRARIES MediaServer) return() endif()