Fixes AppImage build

- RawTherapee app icon should be installed in hicolor theme provided in AppImage package
- Fix wrong searching path for SVG/PNG images in rtscalable.h
This commit is contained in:
Pandagrapher
2023-09-12 11:59:43 +02:00
parent 735958fc0d
commit e255a77fcd
13 changed files with 63 additions and 48 deletions

View File

@@ -366,12 +366,14 @@ endif()
if(NOT DEFINED ICONSDIR)
if(UNIX)
if(BUILD_BUNDLE)
set(ICONSDIR "${DATADIR}/icons")
if(APPLE)
set(ICONSDIR "${DATADIR}/icons")
else()
set(ICONSDIR "${DATADIR}/share/icons")
endif()
else()
set(ICONSDIR "${CMAKE_INSTALL_PREFIX}/share/icons")
endif()
else()
set(ICONSDIR "${DATADIR}/icons")
endif()
endif()