summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_xmlrpc.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-11 15:24:56 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-11 15:24:56 (GMT)
commit8f5af6172a3f8bbad85ad3495f94e20557942670 (patch)
tree2273d9f4d89dbcc3ecf472fb917467511ec8d01b /Utilities/cm_xmlrpc.h
parent8c5c192b9dff5ad8e7b422ed16935c2c5d2016db (diff)
downloadCMake-8f5af6172a3f8bbad85ad3495f94e20557942670.zip
CMake-8f5af6172a3f8bbad85ad3495f94e20557942670.tar.gz
CMake-8f5af6172a3f8bbad85ad3495f94e20557942670.tar.bz2
ENH: Disable the xmlrpc drop method by default
We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
Diffstat (limited to 'Utilities/cm_xmlrpc.h')
-rw-r--r--Utilities/cm_xmlrpc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Utilities/cm_xmlrpc.h b/Utilities/cm_xmlrpc.h
index 95655bf..0f05c9e 100644
--- a/Utilities/cm_xmlrpc.h
+++ b/Utilities/cm_xmlrpc.h
@@ -19,12 +19,9 @@
/* Use the xmlrpc library configured for CMake. */
#include "cmThirdParty.h"
-#ifdef CMAKE_USE_SYSTEM_XMLRPC
+#ifdef CTEST_USE_XMLRPC
# include <xmlrpc.h>
# include <xmlrpc_client.h>
-#else
-# include <cmxmlrpc/xmlrpc.h>
-# include <cmxmlrpc/xmlrpc_client.h>
#endif
#endif