don't install .desktop file and icon on macOS

This commit is contained in:
Aaron Gyes 2021-10-16 14:20:47 -07:00
parent ff24d571ef
commit 5accc67f1a

View file

@ -170,8 +170,10 @@ if(GETTEXT_FOUND)
endforeach()
endif()
install(FILES fish.desktop DESTINATION ${rel_datadir}/applications)
install(FILES fish.png DESTINATION ${rel_datadir}/pixmaps)
if (NOT APPLE)
install(FILES fish.desktop DESTINATION ${rel_datadir}/applications)
install(FILES fish.png DESTINATION ${rel_datadir}/pixmaps)
endif()
# Group install targets into a InstallTargets folder
set_property(TARGET build_fish_pc CHECK-FISH-BUILD-VERSION-FILE