Commit 251fbf90 authored by jcfr's avatar jcfr
Browse files

COMP: Move Slicer.icns into Application/SlicerQT/Resources

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16356 3bd1e089-480b-0410-8dfb-8563597acbee
parent 8402f88c
......@@ -94,13 +94,14 @@ target_link_libraries(${lib_name}
# --------------------------------------------------------------------------
IF(Q_WS_MAC)
SET(apple_bundle_sources "${Slicer_SOURCE_DIR}/Utilities/Package/Slicer.icns")
SET(apple_icon_file Slicer.icns)
SET(apple_bundle_sources "${CMAKE_CURRENT_SOURCE_DIR}/Resources/${apple_icon_file}")
SET_SOURCE_FILES_PROPERTIES(
"${Slicer_SOURCE_DIR}/Utilities/Package/Slicer.icns"
"${apple_bundle_sources}"
PROPERTIES
MACOSX_PACKAGE_LOCATION Resources
)
SET(MACOSX_BUNDLE_ICON_FILE Slicer.icns)
SET(MACOSX_BUNDLE_ICON_FILE ${apple_icon_file})
ENDIF(Q_WS_MAC)
IF(QT_MAC_USE_COCOA)
......
......@@ -204,7 +204,7 @@ if(EXISTS "${CTK_DIR}/CTK-build/CMakeCache.txt")
endif()
if(APPLE)
set(CPACK_PACKAGE_ICON "${Slicer_SOURCE_DIR}/Utilities/Package/Slicer.icns")
set(CPACK_PACKAGE_ICON "${Slicer_SOURCE_DIR}/Applications/SlicerQT/Resources/Slicer.icns")
endif()
# slicer3 does _not_ require setting the windows path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment