From 549218bf5860b56b2a7c0182fdec801449d8a783 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Fri, 11 Nov 2022 13:31:02 -0500 Subject: [PATCH] COMP: Fix macOS notarization setting Slicer_MACOSX_BUNDLE_GUI_IDENTIFIER Based of the following commits: * KitwareMedical/SlicerCustomAppTemplate@bdcb062f6 COMP: Set Slicer_MACOSX_BUNDLE_GUI_IDENTIFIER * Slicer/Slicer@4425da860 COMP: Fix application notarization on macOS setting bundle identifier --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 070b323..a9f772b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,11 @@ endif() include(SlicerInitializeBuildType) include(SlicerInitializeReleaseType) +# Set application bundle identifier for macOS +if(APPLE) + set(Slicer_MACOSX_BUNDLE_GUI_IDENTIFIER "com.kitware.slicersalt") +endif() + # Installation folder and admin account requirement for Windows if(WIN32) # Note: To avoid escaping issue, make sure to use forward slash when setting