aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2010-05-26 17:04:30 +0000
committerAlexander Neundorf <neundorf@kde.org>2010-05-26 17:04:30 +0000
commit9f0d33ae4e9b10466e689d2bc883eff2dfb317b4 (patch)
tree48389cefb794f05283bca71ac8b38ded25e38b5e /modules
parent3cc6956201aed4440477ba33bf5dd1b0c77bed11 (diff)
downloadextra-cmake-modules-9f0d33ae4e9b10466e689d2bc883eff2dfb317b4.tar.gz
extra-cmake-modules-9f0d33ae4e9b10466e689d2bc883eff2dfb317b4.tar.bz2
-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: <luigi.toscano@tiscali.it> svn path=/trunk/KDE/kdelibs/; revision=1130875
Diffstat (limited to 'modules')
-rw-r--r--modules/FindDocBookXML.cmake9
1 files changed, 2 insertions, 7 deletions
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, <luigi.toscano@tiscali.it>
#
# 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)