macro_bool_to_01 macro in plasma-workspace/ConfigureChecks.cmake

Martin Gräßlin mgraesslin at kde.org
Fri Oct 28 18:24:10 UTC 2016


Am 2016-10-28 19:25, schrieb René J.V. Bertin:
> On Friday October 28 2016 14:00:54 Martin Graesslin wrote:
> 
> Hi,
> 
>>> I wouldn't exclude the possibility that this is old and 
>>> dead/non-functional
>> code. I just did a git grep for every of the CMake variables se 
>> through the
>> macro_bool_to_01 and only found:
>> dataengines/mouse/CMakeLists.txt:if (X11_Xfixes_FOUND)
>> dataengines/mouse/CMakeLists.txt:if (X11_Xfixes_FOUND)
>> dataengines/mouse/CMakeLists.txt:
>> target_link_libraries(plasma_engine_mouse ${X11_Xfixes_LIB})
> 
> And in ConfigureChecks.cmake, which is the file generating the error
> for me in 5.8.2 . It didn't before, which made me think that somehow
> cmake picked up the definition elsewhere, in code that has now been
> modernised.

Sorry, I think there was a misunderstanding. I checked all the variables 
set by macro_bool_to_01 in ConfigureChecks.cmake. In other files it's 
not used.

Cheers
Martin


More information about the Plasma-devel mailing list