mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
473b9356a6
commit
c8c1eee25d
@ -114,11 +114,9 @@ if(NOT IOS AND NOT ANDROID)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
#编译静态库
|
#编译静态库
|
||||||
if(NOT WIN32)
|
add_library(${CMAKE_PROJECT_NAME}_static STATIC ${SRC_LIST})
|
||||||
add_library(${CMAKE_PROJECT_NAME}_static STATIC ${SRC_LIST})
|
set_target_properties(${CMAKE_PROJECT_NAME}_static PROPERTIES OUTPUT_NAME "${CMAKE_PROJECT_NAME}")
|
||||||
set_target_properties(${CMAKE_PROJECT_NAME}_static PROPERTIES OUTPUT_NAME "${CMAKE_PROJECT_NAME}")
|
install(TARGETS ${CMAKE_PROJECT_NAME}_static ARCHIVE DESTINATION ${INSTALL_PATH_LIB})
|
||||||
install(TARGETS ${CMAKE_PROJECT_NAME}_static ARCHIVE DESTINATION ${INSTALL_PATH_LIB})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
#测试程序
|
#测试程序
|
||||||
if(NOT IOS)
|
if(NOT IOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user