Skip to content

Commit

Permalink
build: install select parts of src/gui/res/ dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Nov 9, 2024
1 parent bc1e80d commit 89f64f1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -49,7 +49,11 @@ if(UNIX AND NOT APPLE)
install(FILES README.md AUTHORS CHANGELOG.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES src/gui/res/multivnc.xpm DESTINATION ${CMAKE_INSTALL_DATADIR}/pixmaps)
install(FILES src/gui/res/net.christianbeier.MultiVNC.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
install(DIRECTORY src/gui/res/ DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(DIRECTORY src/gui/res/dark DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(DIRECTORY src/gui/res/light DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(FILES src/gui/res/about.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(FILES src/gui/res/unicast.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(FILES src/gui/res/multicast.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/multivnc)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/de.gmo DESTINATION ${CMAKE_INSTALL_DATADIR}/locale/de/LC_MESSAGES/ RENAME ${LOCALE_DOMAIN}.mo)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/es.gmo DESTINATION ${CMAKE_INSTALL_DATADIR}/locale/es/LC_MESSAGES/ RENAME ${LOCALE_DOMAIN}.mo)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sv.gmo DESTINATION ${CMAKE_INSTALL_DATADIR}/locale/sv/LC_MESSAGES/ RENAME ${LOCALE_DOMAIN}.mo)
@@ -65,7 +69,11 @@ fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")
" COMPONENT Runtime)
INSTALL(TARGETS MultiVNC BUNDLE DESTINATION . COMPONENT Runtime)
INSTALL(FILES README.md DESTINATION . RENAME Readme.txt)
install(DIRECTORY src/gui/res/ DESTINATION MultiVNC.app/Contents/Resources)
install(DIRECTORY src/gui/res/dark DESTINATION MultiVNC.app/Contents/Resources)
install(DIRECTORY src/gui/res/light DESTINATION MultiVNC.app/Contents/Resources)
install(FILES src/gui/res/about.svg DESTINATION MultiVNC.app/Contents/Resources)
install(FILES src/gui/res/unicast.svg DESTINATION MultiVNC.app/Contents/Resources)
install(FILES src/gui/res/multicast.svg DESTINATION MultiVNC.app/Contents/Resources)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/de.gmo DESTINATION MultiVNC.app/Contents/Resources/de.lproj RENAME ${LOCALE_DOMAIN}.mo)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/es.gmo DESTINATION MultiVNC.app/Contents/Resources/es.lproj RENAME ${LOCALE_DOMAIN}.mo)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sv.gmo DESTINATION MultiVNC.app/Contents/Resources/sv.lproj RENAME ${LOCALE_DOMAIN}.mo)

0 comments on commit 89f64f1

Please sign in to comment.