From 9f0d33ae4e9b10466e689d2bc883eff2dfb317b4 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 26 May 2010 17:04:30 +0000 Subject: -remove duplicated documentation for DOCBOOKXML_CURRENTDTD_VERSION -remove docs for not existing DOCBOOKXML_OLDDTD_DIR variable -use DOCBOOKXML_CURRENTDTD_DIR as first variable argument for find_package_handle_standard_args(), so the status message tells us where it has been found Alex CCMAIL: svn path=/trunk/KDE/kdelibs/; revision=1130875 --- modules/FindDocBookXML.cmake | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'modules/FindDocBookXML.cmake') diff --git a/modules/FindDocBookXML.cmake b/modules/FindDocBookXML.cmake index b28f5b1a..26053bfd 100644 --- a/modules/FindDocBookXML.cmake +++ b/modules/FindDocBookXML.cmake @@ -6,12 +6,7 @@ # DTD # DOCBOOKXML_CURRENTDTD_DIR - the directory containing the definition of # the currently used DocBook XML version -# DOCBOOKXML_CURRENTDTD_VERSION - if defined, the version of previously used -# DocBook XML DTD -# DOCBOOKXML_OLDDTD_DIR - if defined and different from -# DOCBOOKXML_CURRENTDTD_DIR, the directory containing the definition of -# previously used DocBook XML version -# + # Copyright (c) 2010, Luigi Toscano, # # Redistribution and use is allowed according to the terms of the BSD license. @@ -67,6 +62,6 @@ endif (NOT DOCBOOKXML_CURRENTDTD_DIR) include(FindPackageHandleStandardArgs) find_package_handle_standard_args (DocBookXML "Could NOT find DocBook XML DTDs (v${DOCBOOKXML_CURRENTDTD_VERSION})" - DOCBOOKXML_CURRENTDTD_VERSION DOCBOOKXML_CURRENTDTD_DIR) + DOCBOOKXML_CURRENTDTD_DIR DOCBOOKXML_CURRENTDTD_VERSION) mark_as_advanced (DOCBOOKXML_CURRENTDTD_DIR DOCBOOKXML_CURRENTDTD_VERSION) -- cgit v1.2.1