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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers