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)
|
list (APPEND libs Xi)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set (DnsSdlib "dns_sd.h")
|
if (NOT SYNERGY_ENTERPRISE)
|
||||||
set (CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};${DnsSdlib}")
|
set (DnsSdlib "dns_sd.h")
|
||||||
check_include_files ("${DnsSdlib}" HAVE_DNS_SD)
|
set (CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};${DnsSdlib}")
|
||||||
if (NOT HAVE_DNS_SD)
|
check_include_files ("${DnsSdlib}" HAVE_DNS_SD)
|
||||||
|
if (NOT HAVE_DNS_SD)
|
||||||
message (FATAL_ERROR "Missing header: " ${DnsSdlib})
|
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
|
# For config.h, set some static values; it may be a good idea to make
|
||||||
# these values dynamic for non-standard UNIX compilers.
|
# these values dynamic for non-standard UNIX compilers.
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ Bug fixes:
|
||||||
- #6804 Synergy loses edition when creating a System scope config
|
- #6804 Synergy loses edition when creating a System scope config
|
||||||
- #6660 + #6582 Add missing XAtom for utf-8 handling with Xorg
|
- #6660 + #6582 Add missing XAtom for utf-8 handling with Xorg
|
||||||
- #6814 The system asks to save twice.
|
- #6814 The system asks to save twice.
|
||||||
|
- #6817 Configure requires dns_sd.h for enterprise version
|
||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
- #6750 Integrate SonarCloud for static analysis and test coverage
|
- #6750 Integrate SonarCloud for static analysis and test coverage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue