[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: [Libstreams] 695554f Specify the full path in
From: "Yury G. Kudryashov" <urkud () ya ! ru>
Date: 2011-01-12 11:11:06
Message-ID: igk28a$lqs$1 () dough ! gmane ! org
[Download RAW message or body]
Alexander Neundorf wrote:
> Uh, that doesn't look too good, it hardcodes the "lib" prefix and the
> ".so" suffix. Does that work on Windows ? OSX ?
>
> How can it be done better:
> 1.) use exported targets, then this is done automatically. For this the
> targets have to be put into an "export set" (using the EXPORT argument of
> install(TARGET...)), and then this export set has to be installed (using
> install(EXPORT...) ). The installed export-file can then be included by
> the installed LibStreamsConfig.cmake.
I'm working on a patch using this approach. I'm busy till week-end but I
will post it just after week-end.
>
> or
> 2.) use something like
> find_library(LIBSTREAMS_LIBRARIES NAMES streams
> HINTS ${LIBSTREAMS_LIBRARY_DIRS}
> NO_DEFAULT_PATH)
> in the installed LibStreamsConfig.cmake
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic