2013-11-02 18:07:34 +08:00
|
|
|
set(NETWORK_SRC
|
|
|
|
HttpClient.cpp
|
|
|
|
SocketIO.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(network STATIC
|
|
|
|
${NETWORK_SRC}
|
|
|
|
)
|
2013-11-04 13:10:04 +08:00
|
|
|
|
|
|
|
target_link_libraries(network
|
|
|
|
curl
|
2013-11-06 14:54:35 +08:00
|
|
|
ldap
|
|
|
|
lber
|
|
|
|
idn
|
|
|
|
rtmp
|
2013-11-04 13:10:04 +08:00
|
|
|
)
|
2013-11-04 14:49:42 +08:00
|
|
|
|
|
|
|
set_target_properties(network
|
|
|
|
PROPERTIES
|
2014-01-07 15:44:36 +08:00
|
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
2013-11-04 14:49:42 +08:00
|
|
|
)
|
|
|
|
|