summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmxmlrpc/CMakeLists.txt3
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_config.h.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt
index d9d460a..cef60aa 100644
--- a/Utilities/cmxmlrpc/CMakeLists.txt
+++ b/Utilities/cmxmlrpc/CMakeLists.txt
@@ -5,6 +5,9 @@ INCLUDE_REGULAR_EXPRESSION("^.*$")
# Include all the necessary files for macros
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
+OPTION(HAVE_UNICODE_WCHAR "Enable Unicode Support" YES)
+MARK_AS_ADVANCED(HAVE_UNICODE_WCHAR)
+
# Check if header file exists and add it to the list.
SET(CURRENT_INCLUDES)
INCLUDE (CheckIncludeFiles)
diff --git a/Utilities/cmxmlrpc/xmlrpc_config.h.in b/Utilities/cmxmlrpc/xmlrpc_config.h.in
index 39bb904..179baf3 100644
--- a/Utilities/cmxmlrpc/xmlrpc_config.h.in
+++ b/Utilities/cmxmlrpc/xmlrpc_config.h.in
@@ -26,7 +26,7 @@
#define ATTR_UNUSED @ATTR_UNUSED@
-#define HAVE_UNICODE_WCHAR @HAVE_UNICODE_WCHAR_DEFINE@
+#define HAVE_UNICODE_WCHAR @HAVE_UNICODE_WCHAR@
#define DIRECTORY_SEPARATOR "@DIRECTORY_SEPARATOR@"