diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-21 13:33:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-21 13:33:15 (GMT) |
commit | 9719bf0bdd737a3fb9464144263a9a5eb6e6c933 (patch) | |
tree | 0be380c1f48eb909ca2f4783f3db2e72778951db | |
parent | 755928d7560935182c4af3c1527a8b58e9baef33 (diff) | |
download | CMake-9719bf0bdd737a3fb9464144263a9a5eb6e6c933.zip CMake-9719bf0bdd737a3fb9464144263a9a5eb6e6c933.tar.gz CMake-9719bf0bdd737a3fb9464144263a9a5eb6e6c933.tar.bz2 |
COMP: Do not build the file when wide char is not set since the file would be empty
-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 |