Don't rely on OLD policy behavior.
Port KDE4Macros away from use of the LOCATION target property. It is never correct to set policies to OLD. The other policies KDE4 sets to OLD will cause problems for KDE4 distros later. They should have been fixed incrementally years ago instead: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/13376/focus=13511 Judging by the amount of policy warnings emitted when building kdelibs even today, there is a lot of maintenance to do. If the maintenance is not done, KDE4 will not build with newer cmake, and distros may choose to package an old cmake version in order to build KDE4 with it. CCMAIL: kde-buildsystem@kde.org
parent
cb0063f5
Please register or sign in to comment