KDE Workspace broken due to upstream CMake changes

Ben Cooksley bcooksley at kde.org
Mon May 27 19:53:40 UTC 2013


On Tue, May 28, 2013 at 12:51 AM, Rolf Eike Beer
<kde at opensource.sf-tec.de> wrote:
> Am 27.05.2013 09:13, schrieb Ben Cooksley:
>
>> Hi all,
>>
>> It seems that a recent upstream change in CMake has now broken the
>> build of KDE Workspace. Can someone please fix or prod CMake upstream
>> into revising their policies?
>>
>> The lack of warning here concerning the change is a little irritating.
>>
>> -- Looking for XkbLockModifiers in X11
>> CMake Error at CMakeLists.txt:10 (ADD_EXECUTABLE):
>>   Target "cmTryCompileExec744440252" links to item "/usr/lib64/libXpm.so "
>>   which has leading or trailing whitespace.  This is now an error
>> according
>>   to policy CMP0004.
>>
>>
>> CMake Error: Internal CMake error, TryCompile generation of cmake failed
>> -- Looking for XkbLockModifiers in X11 - not found
>
>
> That's what the policies are for at all ;)
>
> cmake --help-policy CMP0004
>
> So, fix whatever is causing this, and in the meantime use:

I'm not sure that we are responsible for FindX11 - which is what I
guess is triggering this (based on preceding and following messages
from CMake)

>
> cmake_policy(SET CMP0004 OLD)
>
> Eike

Regards,
Ben


More information about the Kde-frameworks-devel mailing list