SYNERGY-317 Configure requires dns_sd.h for enteprise (#6819)
This commit is contained in:
parent
63279a1d3a
commit
26f2f2c283
2 changed files with 9 additions and 6 deletions
|
|
@ -248,13 +248,15 @@ if (UNIX)
|
|||
list (APPEND libs Xi)
|
||||
endif()
|
||||
|
||||
set (DnsSdlib "dns_sd.h")
|
||||
set (CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};${DnsSdlib}")
|
||||
check_include_files ("${DnsSdlib}" HAVE_DNS_SD)
|
||||
if (NOT HAVE_DNS_SD)
|
||||
if (NOT SYNERGY_ENTERPRISE)
|
||||
set (DnsSdlib "dns_sd.h")
|
||||
set (CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};${DnsSdlib}")
|
||||
check_include_files ("${DnsSdlib}" HAVE_DNS_SD)
|
||||
if (NOT HAVE_DNS_SD)
|
||||
message (FATAL_ERROR "Missing header: " ${DnsSdlib})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# For config.h, set some static values; it may be a good idea to make
|
||||
# these values dynamic for non-standard UNIX compilers.
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ Bug fixes:
|
|||
- #6804 Synergy loses edition when creating a System scope config
|
||||
- #6660 + #6582 Add missing XAtom for utf-8 handling with Xorg
|
||||
- #6814 The system asks to save twice.
|
||||
- #6817 Configure requires dns_sd.h for enterprise version
|
||||
|
||||
Enhancements:
|
||||
- #6750 Integrate SonarCloud for static analysis and test coverage
|
||||
|
|
|
|||
Loading…
Reference in a new issue