This is important in case there are build flags that need to propagate
between libraries for things to build correctly.
target_sources(network PRIVATE UnixSocket.cxx)
endif()
+target_link_libraries(network os rdr rfb)
+
if(WIN32)
target_link_libraries(network ws2_32)
endif()
Thread.cxx
os.cxx)
+target_link_libraries(os rdr)
+
if(UNIX)
target_link_libraries(os pthread)
endif()
ZlibInStream.cxx
ZlibOutStream.cxx)
-target_link_libraries(rdr ${ZLIB_LIBRARIES} os)
+target_link_libraries(rdr ${ZLIB_LIBRARIES} os rfb)
if(GNUTLS_FOUND)
include_directories(SYSTEM ${GNUTLS_INCLUDE_DIR})
obfuscate.cxx
util.cxx)
-target_link_libraries(rfb os rdr)
+target_link_libraries(rfb os rdr network)
target_link_libraries(rfb ${JPEG_LIBRARIES} ${PIXMAN_LIBRARIES})
target_link_directories(rfb PUBLIC ${PIXMAN_LIBRARY_DIRS})