diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-12-10 20:02:54 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-12-10 22:01:34 +0100 |
| commit | c75e299dbffe0b10fd2549e57a94dab7fa833208 (patch) | |
| tree | a3b358293cc53f6a5deb9e5e10de1658b5b7cdde /README.CMake.txt | |
| parent | fe6838e843bf0911befce99080220ea758b5d675 (diff) | |
Improve CMP documentation and README.CMake.txt (#1346)
- fix PDF generation
- update some tables, particularly Visual Studio and macOS macros
To-do: more details, updates for 1.4 and 1.5, respectively
Diffstat (limited to 'README.CMake.txt')
| -rw-r--r-- | README.CMake.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/README.CMake.txt b/README.CMake.txt index e7f9a4d13..781ab4c49 100644 --- a/README.CMake.txt +++ b/README.CMake.txt @@ -114,7 +114,7 @@ them explicitly. 2.2.1 CMake Specific Configuration Options --------------------------------------------- -There are only four CMake options that you typically want to specify. +There are only a few CMake options that you typically want to specify. Each option has a specific ":type" setting which is kind of optional but should usually be specified in scripts. @@ -147,6 +147,14 @@ but should usually be specified in scripts. will either build Intel (x86_64) or Apple Silicon aka M1 (arm64) apps. The default is to build for the host processor architecture. +-D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=<macOS version> - default EMPTY + This is macOS specific and ignored on other platforms. + Set this to any macOS version that is supported by the SDK used to + build the FLTK library, e.g. '15.4' or '26.0', leave it empty, or + don't set it at all. This delimits the macOS version where the + programs built with this library can run. + + Note: the CMake variable BUILD_SHARED_LIBS is ignored by FLTK. FLTK builds static libs by default and can optionally build shared libs as well. Please see FLTK_BUILD_SHARED_LIBS instead. |
