From 042f19464b5b5d0c17dee6bbe21e87a229dc303c Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 27 Sep 2025 00:14:23 -0400 Subject: [PATCH] Update file dialog source selection in z3ed CMake configuration - Modified the FILE_DIALOG_SRC variable to include both platform-independent and macOS-specific source files. - This change enhances clarity by explicitly indicating the purpose of each source file in the CMake configuration. --- src/cli/z3ed.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cli/z3ed.cmake b/src/cli/z3ed.cmake index acdfbb27..fc0d934f 100644 --- a/src/cli/z3ed.cmake +++ b/src/cli/z3ed.cmake @@ -13,7 +13,10 @@ endif() # Platform-specific file dialog sources if(APPLE) - set(FILE_DIALOG_SRC app/core/platform/file_dialog.mm) + set(FILE_DIALOG_SRC + app/core/platform/file_dialog.cc # Utility functions (all platforms) + app/core/platform/file_dialog.mm # macOS-specific dialogs + ) else() set(FILE_DIALOG_SRC app/core/platform/file_dialog.cc) endif()