[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde4support] cmake: Use the newer syntax in FindDocBook*
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2014-03-04 22:33:46
Message-ID: E1WKxuE-0001PN-56 () scm ! kde ! org
[Download RAW message or body]

Git commit 48a9ac16d3c0a624b9e4a4bc250fca8d300782cd by Alex Merry, on behal=
f of Aleix Pol.
Committed on 04/09/2013 at 23:25.
Pushed by ltoscano into branch 'master'.

Use the newer syntax in FindDocBook*

It approprietly sets the _FOUND variables, we were defining the all
uppercase instead.
Sorry for the mess!

Originally commit 190c79bb4e6bc8b8757bd890485a9bafb4a65219 of the
extra-cmake-modules repository


Commit ee71d477120c9d029c439fbed6e5df9d3b939f5a in kdoctools

M  +2    -2    cmake/FindDocBookXML.cmake

http://commits.kde.org/kde4support/48a9ac16d3c0a624b9e4a4bc250fca8d300782cd

diff --git a/cmake/FindDocBookXML.cmake b/cmake/FindDocBookXML.cmake
index b59d209..b6d623e 100644
--- a/cmake/FindDocBookXML.cmake
+++ b/cmake/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})

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic