CMake questions (add_definition, CMP0063)

David Faure faure at kde.org
Sat Oct 3 08:35:49 UTC 2015


On Saturday 03 October 2015 00:30:04 Aleix Pol wrote:
> 
> As a proper fix, I'd suggest looking into
> extra-cmake-modules/kde-modules/KDECompilerSettings.cmake, there we
> are setting CMAKE_VISIBILITY_INLINES_HIDDEN globally for all KDE
> projects, we should figure out what's the most appropriate value for
> the variable or whether the policy should be set over there.

Unfortunately, it's not that simple (setting the policy there has no effect
because it doesn't affect the calling module). See the thread 
"Re: Fwd: Re: [cmake-developers] [PATCH] cmCMakePolicyCommand: New PARENT_SCOPE argument"
on this very mailing-list, kde-buildsystem.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-buildsystem mailing list