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()