summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-06 16:26:50 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-06 16:26:50 (GMT)
commitfbc894b646560a63f14b5a3feffbd31f5dd6fdd4 (patch)
tree6604856f496540eccdfc45b836d6798d58eeb809 /Utilities/cmxmlrpc
parent994bb76916ba7725eb822cf9c3c63ec53c6a0381 (diff)
downloadCMake-fbc894b646560a63f14b5a3feffbd31f5dd6fdd4.zip
CMake-fbc894b646560a63f14b5a3feffbd31f5dd6fdd4.tar.gz
CMake-fbc894b646560a63f14b5a3feffbd31f5dd6fdd4.tar.bz2
ENH: Fix the symantic of unicode_wchar
Diffstat (limited to 'Utilities/cmxmlrpc')
-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@"