On Saturday 10 May 2008, Andras Mantia wrote: > On Thursday 08 May 2008, Alexander Neundorf wrote: > > Hmm, I think it shouldn't matter for the Config.cmake file. > > But it looks ugly and weird to have only this in lib instead of lib64. > > > If you have cmake 2.6.0, put the Automoc4Config.cmake file e.g. > > into /usr/lib/..., and then create a CMakeLists.txt which just > > contains find_package(Automoc4) > > This should find the file automatically (if not check with strace). > > > > Please let me know how it works. > > So how should I test automoc4? Do I need to clean the build dir of kde* > modules and rebuild everything? And if it builds, it is ok?
Do you mean testing if it is found automatically ? Create a new dir, put a CMakeLists.txt in it: --------8<--------8<------------8<-------- find_package(Automoc4) --------8<--------8<------------8<-------- Then run cmake 2.6 on it. If automoc4 is found, everything is fine. If it is installed in one of the standard dirs like /usr/local/lib, this will just work. If it is e.g. in /opt/kde4/lib/, set the environment variable CMAKE_PREFIX_PATH to /opt/kde4 before running cmake, then it should also be found. Alex _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
