From 37303d5abc3ec9d50d7bc9157e10b030be8b4043 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 23 May 2023 11:19:04 +0200 Subject: [PATCH] build: install locales for MacOS re #222 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60eb34e1..4e19d1ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) INSTALL(TARGETS MultiVNC BUNDLE DESTINATION . COMPONENT Runtime) INSTALL(FILES README.md DESTINATION . RENAME Readme.txt) + 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) endif(APPLE) if(WIN32)