Baho Utot wrote: > > On Sunday 27 March 2011 12:00:02 pm Castro wrote: > >> Hi Serghei, >> >> I am learning something about Cmake. :-) >> >> I've added few files to your cmake modules. >> >> FindXcomposite.cmake >> FindXFixes.cmake >> FindXrender.cmake >> FindXdamage.cmake >> FindXinerama.cmake >> >> >> >> This one should be simple but I have run out of steam. :-( >> >> Started work at 2am, it is 5pm! >> Time for a pint or two. :-) >> >> [ 81%] Built target ksplashredmond-module >> Linking CXX executable ksplashsimple >> /usr/bin/ld: cannot find -ltqt >> /usr/bin/ld: cannot find -lqt-mt >> collect2: ld returned 1 exit status >> make[2]: *** [ksplashml/themeengine/simple/ksplashsimple] Error 1 >> make[1]: *** >> [ksplashml/themeengine/simple/CMakeFiles/ksplashsimple.dir/all] Error 2 >> make: *** [all] Error 2 >> ==> ERROR: A failure occurred in build(). >> Aborting... >> [castro@castro2 trinity-kdebase]$ >> >> Castro. >> > kdebase fails for me exactly at the same place ;( > > Your attached cmake files... > > where do they go, or how do you use them? > > I assume that you add them to the CMakeLists.txt in the main subdir? > > Hi Baho, Edit kdebase/ConfigureChecks.cmake and make it look like this. # required stuff find_package( Qt ) find_package( TQt ) find_package( TDE ) find_package( XFixes ) find_package( Xdamage ) find_package( Xcomposite ) find_package( Xrender ) find_package( Xext ) Then edit kdebase/kwin/kompmgr/CMakeLists.txt LINK m X11 ${XFIXES_LIBRARIES} ${XRENDER_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ${XDAMAGE_LIBRARIES} ${XEXT_LIBRARIES} Don't forget to delete CMakeCache.txt in your build dir before you re-make. I've had my two pints + a good bottle of french wine, and now I am going to bed, good night all. :-) Castro.