diff --git a/CMakeLists.txt b/CMakeLists.txt index 19fd2c71..cb9e742b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)