marble and cmake_min_req

Stephen Kelly steveire at gmail.com
Sat Aug 1 13:47:10 UTC 2015


David Faure wrote:

> This one is hairy...
> 
> 
> project(marble)
> option(QTONLY "Create Marble version without KDE dependencies" OFF)
> [...]
> 
> ####################################################
> # minimum required cmake version
> if( QTONLY )
>     # all previous releases lack QT_QTSCRIPT_LIBRARY needed for panoramio
>     # this might be replaced by a workaround
>     cmake_minimum_required( VERSION 2.4.8 )
> 
>     #suppress the policy warnings while keeping the same behaviour
>     if( COMMAND cmake_policy )
>     cmake_policy( SET CMP0005 OLD )
>     cmake_policy( SET CMP0003 OLD )
>     endif( COMMAND cmake_policy )
> 
> endif( QTONLY )
> [...]
> 

This is still pending, right? It should be fine to just remove that QTONLY 
block and put the cmake_minimum_required at the top.

Thanks,

Steve.




More information about the Kde-buildsystem mailing list