|
|
On 8/4/24 14:00, 'Albrecht Schlosser' via fltk.coredev wrote:
On 4/7/24 19:30 Gonzalo Garramulo wrote:
When building CMake's libjpeg, libpng, etc. libraries with the system
path ones, would it be possible to print out the path to them instead
of just "System".
Yup, done in commit 265e5cd77b30581e7701927930d8fa887e0361df.
Please report any issues with this commit here.
I sent it to the cloud (GitHub Actions). On Windows, with MSVC 2019, it
did not pick them up. I go:
-- Image Libraries JPEG = System: LIB_jpeg-NOTFOUND
-- PNG = System: LIB_png-NOTFOUND
-- ZLIB = System: LIB_zlib-NOTFOUND
The libraries are in my CMAKE_PREFIX_PATH, but with their windows names:
$ cd install/lib
$ ls *png*
libpng16_static.lib
libpng:
libpng16.cmake libpng16-release.cmake
$ ls *zlib*
zlib.lib
$ ls *jpeg*
jpeg-static.lib turbojpeg-static.lib
Albrecht, you may need to use find_library( LIB_zlib NAMES z zlib etc..
) to detect their MSVC 2019 static and shared names. Look at the
Find*.cmake package files that ship with cmake.
--
Gonzalo Garramuño
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/05dbcaac-8ab8-403a-b0b7-27b7d71c3cf4%40gmail.com.
[ Direct Link to Message ] | |
|
| |