aboutsummaryrefslogtreecommitdiffstats
path: root/common/network/CMakeLists.txt
blob: f08eaa3149e73527c40c47604111c6a383646fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_library(network STATIC
  Socket.cxx
  TcpSocket.cxx)

if(NOT WIN32)
  target_sources(network PRIVATE UnixSocket.cxx)
endif()

target_include_directories(network PUBLIC ${CMAKE_SOURCE_DIR}/common)
target_link_libraries(network os rdr rfb)

if(WIN32)
	target_link_libraries(network ws2_32)
endif()

if(UNIX)
  libtool_create_control_file(network)
endif()