summaryrefslogtreecommitdiff
path: root/CMake/FLTKConfig.cmake.in
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
7 daysFix typo in CMake config fileAlbrecht Schlosser
2025-03-16Remove libfltk_cairo (fltk::cairo)Albrecht Schlosser
This library is no longer needed and was "empty" for backwards compatibility since FLTK 1.4.0.
2024-05-13Fix "Cannot build project with CMake ..." (#970)Albrecht Schlosser
... (add_library cannot create ALIAS target "fltk" because target "fltk::fltk" is imported but not globally visible) It turned out that this was due to a CMake feature that was changed in CMake 3.18. This commit makes imported FLTK targets globally visible for CMake versions less than 3.18.
2024-02-07Introduce "Modern CMake" in FLTKAlbrecht Schlosser
This is a big commit and there are too many changes to list them all. The main changes are: - rename all CMake build options to 'FLTK_*' - export library targets with namespace (prefix) 'fltk::' - standardize shared library target names with suffix '-shared' - set public build properties on libraries for consumers - document library names and aliases in README.CMake.txt - document changes in "Migrating Code from FLTK 1.3 to 1.4" - partial backwards compatibility for old user projects Included but not directly related changes: - fix Windows (Visual Studio) DLL build - add CMake function fl_debug_target() to show target properties - don't build test programs if FLTK is a subproject - internal: reformat CMake code: remove space before '(' Thanks to Matthias and Manolo for their help, testing, and feeback.
2023-12-03CMake: Remove UseFLTK.cmake generation and usageAlbrecht Schlosser
2022-11-13Make building Fluid optional. (#539)Matthias Melcher
2021-04-26CMake: Document FLTKConfig.cmake and set FLTK_INCLUDE_DIRAlbrecht Schlosser
Some of the output variables had not been documented, and the "new" variable for FLTK include directories is 'FLTK_INCLUDE_DIRS' (plural) rather than 'FLTK_INCLUDE_DIR'. FLTK_INCLUDE_DIR is now also set for compatibility with FindFLTK.cmake supplied by CMake.
2020-09-01Fix version number in exported file FLTKConfig.cmakeAlbrecht Schlosser
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-13CMake: Deprecate FLTK_USE_FILE (UseFLTK.cmake)Albrecht Schlosser
Cherry-pick the essential changes from FLTK 1.3 since this change had not been ported to 1.4 yet. To do: my current plan is to consolidate 1.3 and 1.4 CMake files as far as possible (with the exceptions of source files, obviously) and to redesign / refactor CMake files later in this process or maybe only for 1.4 if it turns out to be too much to backport.
2014-09-27CMake enhancements, as discussed in STR #3055.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-02CMake: Fix linker issues on OS X and Arch Linux (STR #3045).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Updated CMake files with patches from Michael Surette (STR #2317).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05Mostly rewritten CMake files by Michael Surette. They are more completeAlbrecht Schlosser
than what we had previously, but may need some more testing. The latest changes (removing old APPLE_QD definitions and code) might need another update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-06This commit contains patch submitted by "fltk.x0" (thanks fltk.x0!) in the ↵Dejan Lekic
middle of May this year - STR #863. Also small change in fluid.cxx - time.h was needed for successful build on MinGW. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06Cmake updates (STR #645)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18Documentation updates (STR #568)Michael R Sweet
More CMake updates (STR #499) The Watcom C++ compiler needed a small change (STR #567) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-13Added (unsupported) CMake files (STR #499)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121