diff options
author | David Faure <faure@kde.org> | 2010-11-15 22:32:17 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2010-11-15 22:32:17 +0000 |
commit | 04c6f67b0ebd9490fec82e330a704a616c28e536 (patch) | |
tree | c7a694ee665774decedc68f33932196039d61a77 | |
parent | 725dfbcaa556afd4e597fb06af57ef0b073fa5fd (diff) | |
download | extra-cmake-modules-04c6f67b0ebd9490fec82e330a704a616c28e536.tar.gz extra-cmake-modules-04c6f67b0ebd9490fec82e330a704a616c28e536.tar.bz2 |
Forwardport -c1197454:
Actually honour the minimum version required for SDO. Thanks to Romain Perier for investigating the similar issue in FindSoprano.cmake:
find_package_handle_standard_args() has 2 modes, and only the second mode (REQUIRED_VARS ... VERSION_VAR ...) checks for the version number.
svn path=/trunk/KDE/kdelibs/; revision=1197455
-rw-r--r-- | modules/FindSharedDesktopOntologies.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindSharedDesktopOntologies.cmake b/modules/FindSharedDesktopOntologies.cmake index eecd608a..a384b1ba 100644 --- a/modules/FindSharedDesktopOntologies.cmake +++ b/modules/FindSharedDesktopOntologies.cmake @@ -35,4 +35,4 @@ if (SHAREDDESKTOPONTOLOGIES_ROOT_DIR) endif (SHAREDDESKTOPONTOLOGIES_ROOT_DIR) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(SharedDesktopOntologies DEFAULT_MSG SHAREDDESKTOPONTOLOGIES_ROOT_DIR) +find_package_handle_standard_args(SharedDesktopOntologies REQUIRED_VARS SHAREDDESKTOPONTOLOGIES_ROOT_DIR VERSION_VAR SDO_MIN_VERSION) |