diff options
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r-- | Utilities/cmxmlrpc/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt index 8a03e8f..f23bf97 100644 --- a/Utilities/cmxmlrpc/CMakeLists.txt +++ b/Utilities/cmxmlrpc/CMakeLists.txt @@ -93,9 +93,14 @@ SET(xmlrpc_SRCS xmlrpc_struct.c xmlrpc_strutil.c xmlrpc_support.c - xmlrpc_utf8.c casprintf.c ) +IF(HAVE_UNICODE_WCHAR) + SET(xmlrpc_SRCS + ${xmlrpc_SRCS} + xmlrpc_utf8.c + ) +ENDIF(HAVE_UNICODE_WCHAR) IF(WIN32) SET(xmlrpc_SRCS ${xmlrpc_SRCS} win32_pthreads.c |