diff options
author | Brad King <brad.king@kitware.com> | 2009-06-11 15:24:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-11 15:24:56 (GMT) |
commit | 8f5af6172a3f8bbad85ad3495f94e20557942670 (patch) | |
tree | 2273d9f4d89dbcc3ecf472fb917467511ec8d01b /Utilities | |
parent | 8c5c192b9dff5ad8e7b422ed16935c2c5d2016db (diff) | |
download | CMake-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')
-rw-r--r-- | Utilities/cmThirdParty.h.in | 2 | ||||
-rw-r--r-- | Utilities/cm_xmlrpc.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Utilities/cmThirdParty.h.in b/Utilities/cmThirdParty.h.in index 845a1bd..2866dab 100644 --- a/Utilities/cmThirdParty.h.in +++ b/Utilities/cmThirdParty.h.in @@ -20,7 +20,7 @@ /* Whether CMake is using its own utility libraries. */ #cmakedefine CMAKE_USE_SYSTEM_CURL #cmakedefine CMAKE_USE_SYSTEM_EXPAT -#cmakedefine CMAKE_USE_SYSTEM_XMLRPC #cmakedefine CMAKE_USE_SYSTEM_ZLIB +#cmakedefine CTEST_USE_XMLRPC #endif 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 |