fix linux linker error
This commit is contained in:
parent
f72f845ad2
commit
e0733d205c
@ -8,7 +8,7 @@
|
||||
|
||||
#include "IXNetSystem.h"
|
||||
#include <sstream>
|
||||
#include <strings.h>
|
||||
#include <cstring>
|
||||
|
||||
namespace ix
|
||||
{
|
||||
|
@ -96,13 +96,14 @@ if (JSONCPP_FOUND)
|
||||
target_link_libraries(ixwebsocket_unittest ${JSONCPP_LIBRARIES})
|
||||
endif()
|
||||
|
||||
# library with the most dependencies come first
|
||||
target_link_libraries(ixwebsocket_unittest ixbots)
|
||||
target_link_libraries(ixwebsocket_unittest ixsnake)
|
||||
target_link_libraries(ixwebsocket_unittest ixcobra)
|
||||
target_link_libraries(ixwebsocket_unittest ixsentry)
|
||||
target_link_libraries(ixwebsocket_unittest ixwebsocket)
|
||||
target_link_libraries(ixwebsocket_unittest ixcrypto)
|
||||
target_link_libraries(ixwebsocket_unittest ixcore)
|
||||
target_link_libraries(ixwebsocket_unittest ixsentry)
|
||||
target_link_libraries(ixwebsocket_unittest ixbots)
|
||||
|
||||
target_link_libraries(ixwebsocket_unittest spdlog)
|
||||
|
||||
|
@ -60,13 +60,14 @@ add_executable(ws
|
||||
ws_dns_lookup.cpp
|
||||
ws.cpp)
|
||||
|
||||
# library with the most dependencies come first
|
||||
target_link_libraries(ws ixbots)
|
||||
target_link_libraries(ws ixsnake)
|
||||
target_link_libraries(ws ixcobra)
|
||||
target_link_libraries(ws ixsentry)
|
||||
target_link_libraries(ws ixwebsocket)
|
||||
target_link_libraries(ws ixcrypto)
|
||||
target_link_libraries(ws ixcore)
|
||||
target_link_libraries(ws ixsentry)
|
||||
target_link_libraries(ws ixbots)
|
||||
|
||||
target_link_libraries(ws spdlog)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user