Target install path question

Sebastian Trüg trueg at kde.org
Mon Sep 20 12:36:28 CEST 2010


Hi,

is there a way to get the exact path of a target install path?
If I have for example some installation rule like:

install(TARGET foobar DESTINATION lib)

I would like to use the path of the foobar lib in my FooBarConfig.cmake
to set a variable FOOBAR_LIBRARIES.
Is that possible without resorting to what the Akonadi version does, ie.
construct a different path for each architecture?

Cheers,
Sebastian


More information about the Kde-buildsystem mailing list