diff options
author | Aleix Pol <aleixpol@kde.org> | 2013-09-05 01:25:03 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2013-09-05 01:25:21 +0200 |
commit | 190c79bb4e6bc8b8757bd890485a9bafb4a65219 (patch) | |
tree | 3bc357a4fc46340ee9c4ae448ea939ba54dc863e /find-modules/FindDocBookXSL.cmake | |
parent | 84dff7de586be9dc857be1d37bfd47d9aef04d3e (diff) | |
download | extra-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/FindDocBookXSL.cmake')
-rw-r--r-- | find-modules/FindDocBookXSL.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/find-modules/FindDocBookXSL.cmake b/find-modules/FindDocBookXSL.cmake index ffe90ca3..a7320aed 100644 --- a/find-modules/FindDocBookXSL.cmake +++ b/find-modules/FindDocBookXSL.cmake @@ -46,8 +46,8 @@ endif () include(FindPackageHandleStandardArgs) find_package_handle_standard_args (DocBookXSL - "Could NOT find DocBook XSL stylesheets" - DocBookXSL_DIR) + REQUIRED_VARS DocBookXSL_DIR + FOUND_VAR DocBookXSL_FOUND) #maintain backwards compatibility set(DOCBOOKXSL_FOUND ${DocBookXSL_FOUND}) |