mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
依赖 ZLMediaKit 的模块需要继承宏定义以及依赖
This commit is contained in:
parent
32a6126a4b
commit
70c7a7aa57
@ -41,11 +41,11 @@ list(REMOVE_ITEM LINK_LIBRARIES ZLMediaKit::MediaKit)
|
||||
set(COMPILE_DEFINITIONS ${MK_COMPILE_DEFINITIONS})
|
||||
|
||||
target_compile_definitions(zlmediakit
|
||||
PRIVATE ${COMPILE_DEFINITIONS})
|
||||
PUBLIC ${COMPILE_DEFINITIONS})
|
||||
target_compile_options(zlmediakit
|
||||
PRIVATE ${COMPILE_OPTIONS_DEFAULT})
|
||||
target_link_libraries(zlmediakit
|
||||
PRIVATE ${LINK_LIBRARIES})
|
||||
PUBLIC ${LINK_LIBRARIES})
|
||||
target_include_directories(zlmediakit
|
||||
PRIVATE
|
||||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
|
||||
|
Loading…
Reference in New Issue
Block a user