branches/KDE/4.5/kdelibs/cmake/modules
David Faure
faure at kde.org
Mon Nov 15 23:31:19 CET 2010
SVN commit 1197454 by dfaure:
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.
CCMAIL: kde-buildsystem at kde.org, romain.perier at gmail.com, sebastian at trueg.de
M +1 -1 FindSharedDesktopOntologies.cmake
--- branches/KDE/4.5/kdelibs/cmake/modules/FindSharedDesktopOntologies.cmake #1197453:1197454
@@ -35,4 +35,4 @@
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)
More information about the Kde-buildsystem
mailing list