Files
Zexin Yuan 68c8896c0c fltk_1_3: install CMake config to standard location on darwin
Upstream hard-codes the CMake package config install path to
`FLTK.framework/Resources/CMake` on Apple (CMake/setup.cmake), but we build
FLTK as plain shared dylibs, so no framework target is ever created. That
path then becomes an empty `FLTK.framework/` directory holding only the
CMake config files -- no Mach-O binary, no `Headers/`.

Downstream `find_package(FLTK)` (module mode) resolves the main FLTK
library to that bare directory, and the linker fails with
`file cannot be mmap()ed, errno=22`, which surfaces in consumers such as
tigervnc as a misleading "Incompatible version of FLTK".

Install the package config to the standard `lib/cmake/FLTK` location
instead, which also lets config-mode `find_package(FLTK)` work, and drop
the now-unnecessary move of the (no longer created) framework stub.

Assisted-by: Claude-Code:GLM-5.2

f
2026-08-11 00:26:23 +02:00
..