Details
Description
Looks like a simple typo: variable names should use underscores instead of slashes. This patch fixes it:
--- xerces-c-3.2.0/cmake/XercesTranscoderSelection.cmake.orig 2017-09-22 17:15:15.892155444 +0300 +++ xerces-c-3.2.0/cmake/XercesTranscoderSelection.cmake 2017-09-22 17:18:21.663148228 +0300 @@ -59,7 +59,7 @@ set(gnuiconv_available 0) if(HAVE_ICONV_H AND HAVE_WCHAR_H AND HAVE_STRING_H AND HAVE_STDLIB_H AND HAVE_STDIO_H AND HAVE_CTYPE_H AND HAVE_LOCALE_H AND HAVE_ERRNO_H) - if (HAVE_ENDIAN_H OR HAVE_MACHINE/ENDIAN_H OR HAVE_ARPA/NAMESER_COMPAT_H) + if (HAVE_ENDIAN_H OR HAVE_MACHINE_ENDIAN_H OR HAVE_ARPA_NAMESER_COMPAT_H) if(HAVE_ICONV_OPEN AND HAVE_ICONV_CLOSE AND HAVE_ICONV) set(gnuiconv_available 1) list(APPEND transcoders gnuiconv)