1 diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt
2 index d231e3d1..73f389a2 100644
3 --- a/resources/CMakeLists.txt
4 +++ b/resources/CMakeLists.txt
5 @@ -62,7 +62,7 @@ if(WIN32)
6 DEPENDS "${CMAKE_SOURCE_DIR}/resources/GrandOrgue.manifest")
7 LIST(APPEND DEPLIST "${RESOURCEDIR}/GOIcon.ico" "${RESOURCEDIR}/GrandOrgue.rc" "${RESOURCEDIR}/GrandOrgue.manifest")
9 - ADD_CUSTOM_COMMAND(OUTPUT "${RESOURCEDIR}/GrandOrgue.icns" COMMAND iconutil -c icns --output "${RESOURCEDIR}/GrandOrgue.icns" ${GENERATED_ICONS_DIR} DEPENDS ${GENERATED_ICONS})
10 + ADD_CUSTOM_COMMAND(OUTPUT "${RESOURCEDIR}/GrandOrgue.icns" COMMAND png2icns "${RESOURCEDIR}/GrandOrgue.icns" ${GENERATED_ICONS_DIR}/*{16,32,128,256,512,1024}.png DEPENDS ${GENERATED_ICONS})
11 INSTALL(FILES "${RESOURCEDIR}/GrandOrgue.icns" DESTINATION "${RESOURCEINSTDIR}")
12 LIST(APPEND DEPLIST "${RESOURCEDIR}/GrandOrgue.icns")