aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindDocBookXML.cmake
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2013-09-05 01:25:03 +0200
committerAleix Pol <aleixpol@kde.org>2013-09-05 01:25:21 +0200
commit190c79bb4e6bc8b8757bd890485a9bafb4a65219 (patch)
tree3bc357a4fc46340ee9c4ae448ea939ba54dc863e /find-modules/FindDocBookXML.cmake
parent84dff7de586be9dc857be1d37bfd47d9aef04d3e (diff)
downloadextra-cmake-modules-190c79bb4e6bc8b8757bd890485a9bafb4a65219.tar.gz
extra-cmake-modules-190c79bb4e6bc8b8757bd890485a9bafb4a65219.tar.bz2
Use the newer syntax in FindDocBook*
It approprietly sets the _FOUND variables, we were defining the all uppercase instead. Sorry for the mess! CCMAIL: neundorf@kde.org
Diffstat (limited to 'find-modules/FindDocBookXML.cmake')
-rw-r--r--find-modules/FindDocBookXML.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/find-modules/FindDocBookXML.cmake b/find-modules/FindDocBookXML.cmake
index b59d209e..b6d623e4 100644
--- a/find-modules/FindDocBookXML.cmake
+++ b/find-modules/FindDocBookXML.cmake
@@ -48,8 +48,8 @@ endif ()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args (DocBookXML
- "Could NOT find DocBook XML DTDs (v${DocBookXML_CURRENTDTD_VERSION})"
- DocBookXML_CURRENTDTD_DIR DocBookXML_CURRENTDTD_VERSION)
+ REQUIRED_VARS DocBookXML_CURRENTDTD_DIR DocBookXML_CURRENTDTD_VERSION
+ FOUND_VAR DocBookXML_FOUND)
#maintain backwards compatibility
set(DOCBOOKXML_FOUND ${DocBookXML_FOUND})