[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdebase/workspace/ksysguard/ksysguardd
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2006-08-29 15:23:23
Message-ID: 200608291723.24686.nicolasg () snafu ! de
[Download RAW message or body]
On Monday 28 August 2006 00:22, Matthias Kretz wrote:
> With this commit I get:
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> XRES_LIBRARY
Sorry for breaking the build. I do not know cmake yet but now I have learnt
that using the variable for cmake is not as easy as changing them in a
Makefile.am
Ayway on my older X11, Xres needs the X11and Xext libraries.
>
> Reverting CMakeLists.txt to -r577820 makes at least start compilation in
> kdebase again (what compiles and links I don't know yet).
Have a nice day!
>
> On Sunday 27 August 2006 18:28, Nicolas Goutte wrote:
> > SVN commit 577821 by goutte:
> >
> > Fix linking
> > (Please check!)
> > (This is the same problem as revision 515115 of Makefile.am)
> >
> >
> > M +3 -1 CMakeLists.txt
> >
> >
> > --- trunk/KDE/kdebase/workspace/ksysguard/ksysguardd/CMakeLists.txt
> > #577820:577821 @@ -7,6 +7,8 @@
> > macro_optional_find_package(Sensors)
> > macro_bool_to_01(SENSORS_FOUND, HAVE_LMSENSORS)
> > FIND_LIBRARY(XRES_LIBRARY XRes)
> > +FIND_LIBRARY(X11_LIBRARY X11)
> > +FIND_LIBRARY(XEXT_LIBRARY Xext)
> > if(XRES_LIBRARY)
> > set(HAVE_XRES 1)
> > endif(XRES_LIBRARY)
> > @@ -30,7 +32,7 @@
> > add_executable(ksysguardd ${ksysguardd_SRCS})
> >
> > ADD_DEPENDENCIES(ksysguardd libksysguardd)
> > -TARGET_LINK_LIBRARIES(ksysguardd libksysguardd kdefakes)
> > +TARGET_LINK_LIBRARIES(ksysguardd libksysguardd kdefakes ${XRES_LIBRARY}
> > ${X11_LIBRARY} ${XEXT_LIBRARY})
> >
> > install(TARGETS ksysguardd DESTINATION ${BIN_INSTALL_DIR})
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic