[CMake] What is the prescribed way to link in dependencies for a static library

Orion Poplawski orion at cora.nwra.com
Tue Sep 17 18:11:11 EDT 2013


On 09/17/2013 12:30 PM, Alexander Neundorf wrote:
> Yes.
> Similar to what FindPNG.cmake does, it searches libpng, then searches libz,
> and adds them both to the result variable.
>
> Alex

But it should only do that when building statically.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the CMake mailing list