设置依赖以便推导编译依赖

This commit is contained in:
Xiaofeng Wang 2022-07-26 00:17:59 +08:00
parent ac378eaaf1
commit 0fb0cc29e5

View File

@ -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()