From 5accc67f1a9a8a7e08c19c68afd066432bb902c1 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sat, 16 Oct 2021 14:20:47 -0700 Subject: [PATCH] don't install .desktop file and icon on macOS --- cmake/Install.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/Install.cmake b/cmake/Install.cmake index 434b98402..009199169 100644 --- a/cmake/Install.cmake +++ b/cmake/Install.cmake @@ -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