mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Changed the CMake configuration to explicitly install only the modern-DE and slate-DE theme sets.
This commit is contained in:
parent
e8a093c19c
commit
5d5eaf2de2
|
@ -172,7 +172,8 @@ if(WIN32)
|
|||
|
||||
install(FILES ../LICENSE DESTINATION .)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION .)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes DESTINATION .)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/modern-DE DESTINATION themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-DE DESTINATION themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources DESTINATION .)
|
||||
elseif(APPLE)
|
||||
# For completely unknown reasons, when generating a Bundle using cpack, an extra 'Resources'
|
||||
|
@ -214,7 +215,8 @@ elseif(APPLE)
|
|||
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION ../Resources)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources DESTINATION ../Resources)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes DESTINATION ../Resources)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/modern-DE DESTINATION ../Resources/themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-DE DESTINATION ../Resources/themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION ../Resources)
|
||||
else()
|
||||
install(TARGETS emulationstation RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
@ -237,8 +239,10 @@ else()
|
|||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/modern-DE
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation/themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes/slate-DE
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation/themes)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue