summaryrefslogtreecommitdiff
path: root/Utilities/cmxmlrpc
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-21 09:33:15 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-21 09:33:15 -0400
commit9719bf0bdd737a3fb9464144263a9a5eb6e6c933 (patch)
tree0be380c1f48eb909ca2f4783f3db2e72778951db /Utilities/cmxmlrpc
parent755928d7560935182c4af3c1527a8b58e9baef33 (diff)
downloadcmake-9719bf0bdd737a3fb9464144263a9a5eb6e6c933.tar.gz
COMP: Do not build the file when wide char is not set since the file would be empty
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r--Utilities/cmxmlrpc/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt
index 8a03e8f32d..f23bf97adb 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