aboutsummaryrefslogtreecommitdiff
path: root/network-handler/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-31 11:57:15 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-31 11:57:15 +0200
commit2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd (patch)
tree1c582e4c5715a93c493582b1e01e51bc960d56c0 /network-handler/CMakeLists.txt
parent1525c5defe3db08c765477003be73c68bb2c3cb7 (diff)
downloadcmix-2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd.tar.gz
cmix-2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd.tar.bz2
cmix-2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd.zip
Split up the client and server parts in a separate network library
Diffstat (limited to 'network-handler/CMakeLists.txt')
-rw-r--r--network-handler/CMakeLists.txt13
1 files changed, 1 insertions, 12 deletions
diff --git a/network-handler/CMakeLists.txt b/network-handler/CMakeLists.txt
index b4aef97..072172e 100644
--- a/network-handler/CMakeLists.txt
+++ b/network-handler/CMakeLists.txt
@@ -3,13 +3,8 @@ find_package(Boost COMPONENTS system program_options REQUIRED)
add_executable(network-handler
main.cpp
- acceptor.hpp acceptor.cpp
- server.hpp server.cpp
networkhandler.hpp networkhandler.cpp
- node.hpp node.cpp
- client.hpp client.cpp
userclient.hpp userclient.cpp
- nodeclient.hpp nodeclient.cpp
nodemanager.hpp nodemanager.cpp
)
@@ -22,11 +17,5 @@ target_link_libraries(network-handler
PRIVATE Boost::program_options
PRIVATE Boost::system
PRIVATE cmix
+ PRIVATE cmix-network
)
-
-if(WIN32)
- target_link_libraries(network-handler
- PRIVATE wsock32
- PRIVATE ws2_32
- )
-endif()