summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-28 10:18:35 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-28 11:50:57 +0100
commit2dfb5ff69bb87f17ed98219f354c545fe31300d3 (patch)
treef2cb8096368514e2f6c4910aa318715623904fe7 /cmake
parent0c20a0b38ecbdaa7a39340aeebabc8285179b122 (diff)
downloaddbus-2dfb5ff69bb87f17ed98219f354c545fe31300d3.tar.gz
cmake: clean up libxml2 glue
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66257
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 836f4b23..c6743517 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -296,10 +296,9 @@ if("${sysname}" MATCHES ".*SOLARIS.*")
endif(HAVE_CONSOLE_OWNER_FILE)
endif("${sysname}" MATCHES ".*SOLARIS.*")
-#AC_ARG_WITH(xml, AS_HELP_STRING([--with-xml=[libxml/expat]],[XML library to use]))
-if(NOT LIBXML2_FOUND AND NOT EXPAT_FOUND)
- message(FATAL "Neither expat nor libxml2 found!")
-endif(NOT LIBXML2_FOUND AND NOT EXPAT_FOUND)
+if(NOT EXPAT_FOUND)
+ message(FATAL "expat not found!")
+endif(NOT EXPAT_FOUND)
SET(XML_LIB "Expat")
SET(XML_LIBRARY ${EXPAT_LIBRARIES})
@@ -566,7 +565,6 @@ message(" installing system libs: ${DBUS_INSTALL_SYSTEM_LIBS} "
message(" Building Doxygen docs: ${DBUS_ENABLE_DOXYGEN_DOCS} ")
message(" Building XML docs: ${DBUS_ENABLE_XML_DOCS} ")
#message(" Gettext libs (empty OK): ${INTLLIBS} ")
-message(" Using XML parser: ${XML_LIB} ")
message(" Daemon executable name: ${DBUS_DAEMON_NAME}")
if (WIN32)
message(" System bus address: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS} ")