Do not install 'index.theme' file for linux build with 'BUILD_BUNDLE=OFF'
This commit is contained in:
parent
e8ed39206c
commit
026e9e2a38
@ -24,7 +24,13 @@ endif()
|
||||
if(UNIX)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/rawtherapee.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop" DESTINATION ${DESKTOPDIR})
|
||||
if(BUILD_BUNDLE)
|
||||
install(DIRECTORY "${ICONTHEMEDIR}/hicolor" DESTINATION "${ICONSDIR}")
|
||||
else()
|
||||
# For theme 'hicolor' (containing app icon), 'index.theme' shall not be installed for Linux build with 'BUILD_BUNDLE=OFF' option
|
||||
# (to avoid conflict with existing 'index.theme' distro file)
|
||||
install(DIRECTORY "${ICONTHEMEDIR}/hicolor" DESTINATION "${ICONSDIR}" PATTERN "index.theme" EXCLUDE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(FILES ${LANGUAGEFILES} DESTINATION "${DATADIR}/languages")
|
||||
|
Loading…
x
Reference in New Issue
Block a user