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 ) [...] -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5 _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem