Skip to content

Commit 50f265e

Browse files
committed
BUG: Fix configuration of Designer launcher on macOS
git-svn-id: http://svn.slicer.org/Slicer4/trunk@27713 3bd1e089-480b-0410-8dfb-8563597acbee
1 parent 2413b67 commit 50f265e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMake/SlicerCPack.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if(Slicer_BUILD_QT_DESIGNER_PLUGINS AND ${Slicer_REQUIRED_QT_VERSION} VERSION_GR
7777
set(installed_designer_subdir ".")
7878
if(APPLE)
7979
set(installed_designer_executable "Designer")
80-
set(installed_designer_subdir "Designer.app/Contents/MacOS/designer")
80+
set(installed_designer_subdir "Designer.app/Contents/MacOS")
8181
endif()
8282
find_package(CTKAppLauncher REQUIRED)
8383
ctkAppLauncherConfigureForExecutable(
@@ -90,7 +90,7 @@ if(Slicer_BUILD_QT_DESIGNER_PLUGINS AND ${Slicer_REQUIRED_QT_VERSION} VERSION_GR
9090
DESTINATION_DIR ${CMAKE_BINARY_DIR}/${Slicer_BIN_DIR}
9191
ADDITIONAL_SETTINGS_FILEPATH_BUILD "${Slicer_BINARY_DIR}/${Slicer_BINARY_INNER_SUBDIR}/SlicerLauncherSettings.ini"
9292
# Launcher settings specific to install tree
93-
APPLICATION_INSTALL_EXECUTABLE_NAME designer-real${CMAKE_EXECUTABLE_SUFFIX}
93+
APPLICATION_INSTALL_EXECUTABLE_NAME "${installed_designer_executable}"
9494
APPLICATION_INSTALL_SUBDIR "${installed_designer_subdir}"
9595
ADDITIONAL_SETTINGS_FILEPATH_INSTALLED "<APPLAUNCHER_SETTINGS_DIR>/SlicerLauncherSettings.ini"
9696
)

0 commit comments

Comments
 (0)