axmol/cocos/network/CMakeLists.txt

24 lines
323 B
CMake
Raw Normal View History

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
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
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib"
)