[RFC] cmake modules and keeping source compatibility
Alex Merry
huntedhacker at tiscali.co.uk
Fri Jan 18 23:20:58 GMT 2008
At Friday 18 January 2008 18:17, you wrote:
> A better approach would be not to hardcode the required version in the cmake
> module, but to set it from the outside:
>
> set(SOPRANO_REQUIRED_VERSION 2.0)
> find_package(Soprano REQUIRED)
>
> and then compare with SOPRANO_REQUIRED_VERSION in FindSoprano.cmake.
Wouldn't it be sensible to do this with all packages? It would make the modules more useful for other projects, both inside (by using the installed versions) and outside (by copying the files) KDE.
Alex
More information about the kde-core-devel
mailing list