From 9719bf0bdd737a3fb9464144263a9a5eb6e6c933 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 21 Apr 2005 09:33:15 -0400 Subject: COMP: Do not build the file when wide char is not set since the file would be empty --- Utilities/cmxmlrpc/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v0.12