[cmake-developers] FindPNG.cmake doesn't return a LIBRARY_DIR variable
Ben Boeckel
ben.boeckel at kitware.com
Wed Jul 12 09:14:09 EDT 2017
On Wed, Jul 12, 2017 at 14:22:40 +0200, Rolf Eike Beer wrote:
> First, FindPNG.cmake doesn't care about pkg-config files, if that is bug
> or feature depends on your personal things. CMake will detect the
> library using the full path (as it has done), and construct proper -L
> and -l from that.
CMake prefers using full paths to libraries it finds, so I don't think
it would turn a full path into a `-L` and `-l` flag pair.
--Ben
More information about the cmake-developers
mailing list