On Monday, March 1, 2021 at 11:59:35 AM UTC+1 Albrecht Schlosser wrote:
I have tested on my macOS setup with fink (rather than Homebrew).
> - does it work with configure --enable-cairo ?
This followed by make runs OK
> - does it work with cmake -D OPTION_CAIRO=ON ?
This followed by make runs OK
- does `fltk-config --use-cairo --compile test/cairo_test.cxx` work?
Yes it does.
- do `fltk-config [--use-cairo] --cxxflags` and `--ldflags` etc. work as
expected?
It does work, but cairo-related options appear also without --use-cairo :
xxxxx% ./fltk-config --cxxflags
-I. -I/opt/sw/include/cairo -I/opt/sw/include -I/opt/sw/include/freetype2 -I/opt/X11/include -I./png -I./jpeg -I/opt/sw/include/cairo -I/opt/sw/include -I/opt/sw/include/freetype2 -I/opt/X11/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
They don't appear when ldflags are asked :
% ./fltk-config --ldflags
-L./lib -lfltk -pthread -lpthread -framework Cocoa