FLTK logo

Re: [MOD] STR #3415: CMake: Programs may need some definitions from FLTK to work correctly

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.bugs  ]
 
[ Previous Message ] [ New Message | Reply ] [ Next Message ]

Re: [MOD] STR #3415: CMake: Programs may need some definitions from FLTK to work correctly Albrecht Schlosser Oct 09, 2024  
 
[STR Closed w/Resolution]

Link:         https://www.fltk.org/str.php?L3415
Version:      1.4.0
Fix Version:  1.4.0
Git Commit:   81d3ccefa4b6c3cbaeab20231b2c39705dfb3fb8
Assigned To:  AlbrechtS

Fixed in Git repository.

Note: I set the git commit as of today as the "Fix Commit" although this
issue has been fixed much earlier by the "move to Modern CMake".

I could not reproduce the issue with "no filenames" being listed on current
Linux with FLTK 1.4 as of today, using a "Modern CMake" CMakeLists.txt as
described in README.CMake.txt.

The only remaining piece I can imagine would be something similar to the
patch in
https://www.fltk.org/strfiles/3415/target_includes_and_definitions.diff

... but much shorter, just like:

  target_compile_definitions(fltk INTERFACE ${FLTK_CFLAGS})

... since all other conditions are met by our current minimum CMake version
(3.15) and target_include_directories are set elsewhere.

However, it is not clear which of the `FLTK_CFLAGS` should be exported as
INTERFACE_COMPILE_DEFINITIONS as opposed to internal (private) build
settings.

Therefore I'm closing this STR now (w/Resolution). If there are any
remaining issues, please open a GitHub Issue.


Link:         https://www.fltk.org/str.php?L3415

[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.