mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-29 21:38:22 +08:00
修复编译问题
This commit is contained in:
@@ -113,6 +113,10 @@ if(NOT WIN32)
|
||||
add_compile_options(-Wno-predefined-identifier-outside-function)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND LINK_LIB_LIST ws2_32)
|
||||
endif()
|
||||
|
||||
#编译动态库
|
||||
if(NOT IOS AND NOT ANDROID)
|
||||
add_library(${CMAKE_PROJECT_NAME}_shared SHARED ${SRC_LIST})
|
||||
|
||||
Reference in New Issue
Block a user