diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-13 14:19:29 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-05-13 15:18:04 +0200 |
| commit | d1ea57bc7a04ea611dec555ca310d5e572a4b60e (patch) | |
| tree | fec2cb007fb1687c884691d54e5fe3329c67de58 /examples | |
| parent | a28a7c381df51a40d2ec2ffc07041d9cdd293fb2 (diff) | |
CMake: improve finding cairo.dll on Windows
- don't use pkg-config to find Cairo if FLTK_CAIRO_DIR is set
- use FLTK_CAIRO_DIR to locate Cairo headers and DLL if it is set
- otherwise try to find Cairo with pkg-config anyway
This prevents accidentally "finding" the system Cairo libs provided
by MSYS - which would tie the FLTK library and user programs to MSYS,
i.e. it would make FLTK programs depend on the MSYS installation.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
