Qt Multiarch Transition

George Kiagiadakis kiagiadakis.george at gmail.com
Sat Oct 1 10:09:37 UTC 2011


On Sat, Oct 1, 2011 at 10:33 AM, Praveen A <pravi.a at gmail.com> wrote:
> 2011/9/24 George Kiagiadakis <kiagiadakis.george at gmail.com>:
>> Check libbluedevil.
>>
>
> Thanks.
>
> CMakeLists.txt for libbluedevil has this line setting library install directory
>
> set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
>
> But in libdbusmenu-qt CMakeLists.txt it only has such option to
> specify directory for installing pkgconfig files. I'm not familiar
> with cmake and couldn't figure it out :(
>
> I tried setting up LIB_INSTALL_DIR and libdir variables inside
> CMakeLists.txt, but that did not work. Can anyone help me with this?
>

Hm, apparently libdbusmenu-qt hardcodes lib${LIB_SUFFIX} in all the
install() commands, so you have to make a LIB_INSTALL_DIR variable and
abstract it. Or maybe you can set LIB_SUFFIX to
"/${CMAKE_LIBRARY_ARCHITECTURE}"...



More information about the pkg-kde-talk mailing list