FindKdepimLibs.cmake: please do not hardcode paths

Alexander Neundorf neundorf at kde.org
Wed Dec 3 19:48:56 CET 2008


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_PATH} )

Alex


More information about the Kde-buildsystem mailing list