summaryrefslogtreecommitdiff
path: root/README.macOS.md
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-11-09 11:01:13 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-11-09 11:01:13 +0100
commitc12105193cf1f80e9ea68ddd8cb986dcd0a7d427 (patch)
tree94ac7e1635fe1a6f63dd213388d7702baa754ec8 /README.macOS.md
parentfd14a3abf002766e2aa7d8a00b776cb355043edf (diff)
Complete documentation of function fl_open_callback().
Diffstat (limited to 'README.macOS.md')
-rw-r--r--README.macOS.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.macOS.md b/README.macOS.md
index 60c5441f2..7619ed056 100644
--- a/README.macOS.md
+++ b/README.macOS.md
@@ -315,8 +315,10 @@ declare several extensions.
- Call function <a href=https://www.fltk.org/doc-1.5/group__group__macosx.html#ga0702a54934d10f5b72157137cf291296>fl\_open\_callback()</a> at the beginning of your main() function to set
what function will be called when a file is dropped on the application icon.
-- In Xcode, set the "Info.plist File" build setting of your target application
-to the Info.plist file you have prepared.
+- In Xcode, set the `Info.plist File` build setting of your target application
+to the *Info.plist* file you have prepared. Alternatively, use CMake's
+`set_target_properties` function and `MACOSX_BUNDLE_INFO_PLIST` property
+to have CMake put your *Info.plist* file in the resulting macOS application bundle.
- Rebuild your application.