mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-31 18:50:54 +08:00
修复MSVC编译问题
This commit is contained in:
@@ -38,7 +38,10 @@ if(IOS)
|
||||
endif ()
|
||||
|
||||
set(COMPILE_DEFINITIONS ${MK_COMPILE_DEFINITIONS})
|
||||
list(APPEND COMPILE_DEFINITIONS GENERATE_EXPORT)
|
||||
|
||||
if (MSVC)
|
||||
list(APPEND COMPILE_DEFINITIONS GENERATE_EXPORT)
|
||||
endif ()
|
||||
|
||||
if(ENABLE_API_STATIC_LIB)
|
||||
add_library(mk_api STATIC ${API_SRC_LIST})
|
||||
|
||||
Reference in New Issue
Block a user