Fix bonjour linkage on non-Windows platforms
This commit is contained in:
parent
7cd4642e92
commit
e3f3b7424c
|
@ -26,5 +26,8 @@ endif()
|
||||||
|
|
||||||
qt5_use_modules (synergyx Core Widgets Network)
|
qt5_use_modules (synergyx Core Widgets Network)
|
||||||
target_link_libraries (synergyx ${DNSSD_LIB} shared)
|
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()
|
||||||
|
|
Loading…
Reference in New Issue