From 190c79bb4e6bc8b8757bd890485a9bafb4a65219 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 5 Sep 2013 01:25:03 +0200 Subject: 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 --- find-modules/FindDocBookXML.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'find-modules/FindDocBookXML.cmake') 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}) -- cgit v1.2.1