diff --git a/CMakeLists.txt b/CMakeLists.txt index fd7834f..1d86d04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ if(APPLE) if(EXISTS "${APP_ICON}") add_executable(tetris MACOSX_BUNDLE ${TETRIS_SOURCES} "${APP_ICON}") set_source_files_properties("${APP_ICON}" PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") - set_target_properties(tetris PROPERTIES MACOSX_BUNDLE_ICON_FILE "AppIcon.icns") + set_target_properties(tetris PROPERTIES MACOSX_BUNDLE_ICON_FILE "AppIcon") else() message(WARNING "App icon not found at ${APP_ICON}; bundle will use default icon") add_executable(tetris MACOSX_BUNDLE ${TETRIS_SOURCES})