mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
Fix bonjour linkage on non-Windows platforms
This commit is contained in:
@@ -26,5 +26,8 @@ endif()
|
||||
|
||||
qt5_use_modules (synergyx Core Widgets Network)
|
||||
target_link_libraries (synergyx ${DNSSD_LIB} shared)
|
||||
set_target_properties (synergyx PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
|
||||
|
||||
if (WIN32)
|
||||
set_target_properties (synergyx PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user