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: [email protected], [email protected], [email protected]


 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)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to