mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
仅在有 parent 时设置到 parent 中 (#2676)
This commit is contained in:
parent
7b1a4d23e1
commit
75e41bf3b8
@ -462,7 +462,7 @@ if(ENABLE_SERVER)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Android 会 add_subdirectory 并依赖该变量
|
# Android 会 add_subdirectory 并依赖该变量
|
||||||
if(ENABLE_SERVER_LIB)
|
if(ENABLE_SERVER_LIB AND NOT CMAKE_PARENT_LIST_FILE STREQUAL CMAKE_CURRENT_LIST_FILE)
|
||||||
set(MK_LINK_LIBRARIES ${MK_LINK_LIBRARIES} PARENT_SCOPE)
|
set(MK_LINK_LIBRARIES ${MK_LINK_LIBRARIES} PARENT_SCOPE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user