you should have hamlib_STATIC_FOUND,
hamlib_STATIC_LDFLAGS and
hamlib_STATIC_LIBRARIES set.
Regards
Aurélien
- Mail original -
> De: "Bill Somerville"
> À: "Aurelien Richez"
> Cc: cmake@cmake.org
> Envoyé: Lundi 31 Mars 2014 18:25:02
> Objet:
ements. I assume it needs to get both dynamic and static
linking requirements as I believe at the time it runs the decision as to
which type of link is required has not been made.
Hope this helps.
Aurélien
Regards
Bill Somerville.
- Mail original -
De: "Bill Somerville"
À
Envoyé: Dimanche 30 Mars 2014 12:45:32
> Objet: [CMake] find_package with static library that uses pkg-config not
> working
>
> Hi,
>
> I am using find_package to configure a library that uses pkg-config.
> When I configure and build a static only version of the li
Hi,
I am using find_package to configure a library that uses pkg-config.
When I configure and build a static only version of the library the link
commands generated for my project are wrong.
The problem boils down to the fact that for static link of a library
pkg-config needs to be called wi