Re: FindKdepimLibs.cmake: please do not hardcode paths

2008-12-03 Thread Alexander Neundorf
On Wednesday 03 December 2008, Alexander Neundorf wrote: ... > You would have to do: > find_package(KDE4 REQUIRED) > set(CMAKE_MODULE_PATH > /usr/share/kde4/apps/cmake/modules ${CMAKE_MODULE_PATH} ) Should be: set(CMAKE_MODULE_PATH /opt/kdepimlibs/share/apps/cmake/modules ${CMAKE_MODULE_PA

Re: FindKdepimLibs.cmake: please do not hardcode paths

2008-12-03 Thread Alexander Neundorf
On Wednesday 03 December 2008, Modestas Vainius wrote: > Hello, > > please do not hardcode paths in FindKdepimLibs.cmake. Some distributions > use /usr/share/kde4/ as DATA_INSTALL_DIR. So at least please use that one > as a reference. However, I also do not understand why additional path > hackery

FindKdepimLibs.cmake: please do not hardcode paths

2008-12-03 Thread Modestas Vainius
Hello, please do not hardcode paths in FindKdepimLibs.cmake. Some distributions use /usr/share/kde4/ as DATA_INSTALL_DIR. So at least please use that one as a reference. However, I also do not understand why additional path hackery is needed (how many people are going to install pimlibs to othe