Alexander Neundorf schrieb: > On Monday 09 July 2007 17:18, Ralf Habacker wrote: > >> Andreas Pakulat schrieb: >> >>> On 09.07.07 06:49:23, Thiago Macieira wrote: >>> >>>> Andreas Pakulat wrote: >>>> >>>>> As I tried to explain at the start: this is specifically about >>>>> installing module's in different locations. >>>>> >>>> I think KDEDIRS is the best way. >>>> >>> Ok, tried and it works quite well. now the question is: where to put >>> this: >>> >>> exec_program(kde4-config ARGS --path data OUTPUT_VARIABLE _data_DIR) >>> file(TO_CMAKE_PATH "${_data_DIR}" _data_DIR) >>> foreach(dir ${_data_DIR}) >>> message("Adding ${dir} to CMAKE_MODULE_PATH") >>> set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} >>> ${dir}/share/cmake/modules) endforeach(dir) >>> >>> Also maybe we should remove the user's data-dir from that, i.e. only use >>> install locations. But I don't know wether thats known or not. >>> >>> Should this be in FindKDE4Internal.cmake? >>> >> yes, because it is part of setting a propper KDE environment. I suggest >> the place in my send patch >> > > Yes, adding the dirs reported by kde4-config in FindKDE4Internal.cmake sounds > really like the right approach. > Is anyone going to check this in or should i do it ?
Ralf _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem