X11_Xss_LIB

Alexander Neundorf neundorf at kde.org
Mon Aug 7 17:27:58 CEST 2006


On Monday 31 July 2006 01:34, Allen Winter wrote:
> Howdy,
>
> If FindX11.cmake run during the kdepim CMake process doesn't find the
> /usr/X11R6/lib/libXss.so library, then later on you get the message
> "Please set the following variables: X11_Xss_LIB (ADVANCED)"
>
> Seems like we should be able to come up with a better error message.
> Should we have a lot of MACRO_LOG_FEATURE stuff at the
> bottom of FindX11.cmake?
>
> Like:
> MACRO_LOG_FEATURE(  X11_Xss_FOUND "X screen saver library"  blah  blah...)
> MACRO_LOG_FEATURE( X11_Xdcmp_FOUND ...)
> ...
> and then exit cmake if any of the X11 libs are not found?

I think this would be too much output, since there are so many components in 
X11.

Since cmake 2.4.3 FIND_PACKAGE() features new options, so that you can specify 
required components of a package. Maybe we can use this in FindX11.cmake.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list