mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
c82cc587c8
commit
67bb53746e
@ -17,7 +17,11 @@ else ()
|
|||||||
add_definitions(-DMediaKitApi_EXPORTS)
|
add_definitions(-DMediaKitApi_EXPORTS)
|
||||||
endif ()
|
endif ()
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(mk_api ${LINK_LIB_LIST} jsoncpp)
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
|
target_link_libraries(mk_api -Wl,--start-group jsoncpp ${LINK_LIB_LIST} -Wl,--end-group)
|
||||||
|
else ()
|
||||||
|
target_link_libraries(mk_api jsoncpp ${LINK_LIB_LIST})
|
||||||
|
endif ()
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
file(GLOB api_header_list include/*.h)
|
file(GLOB api_header_list include/*.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user