Fix file dialog not opening on macOS 26 (#24)

This commit is contained in:
Matteo Forlani 2025-11-28 08:37:21 +01:00 committed by GitHub
parent 2e129375f9
commit a061738820
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,7 @@ set(FORMS
# Platform-specific executable creation # Platform-specific executable creation
if(APPLE) if(APPLE)
set(MACOSX_BUNDLE_ICON_FILE ndsfactory.icns) set(MACOSX_BUNDLE_ICON_FILE ndsfactory.icns)
set(MACOSX_BUNDLE_GUI_IDENTIFIER dev.lucadamico.ndsfactory)
set(MACOS_ICNS "res/ndsfactory.icns") set(MACOS_ICNS "res/ndsfactory.icns")
set_source_files_properties(${MACOS_ICNS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") set_source_files_properties(${MACOS_ICNS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${SOURCES} ${HEADERS} ${FORMS} ${MACOS_ICNS}) add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${SOURCES} ${HEADERS} ${FORMS} ${MACOS_ICNS})