091fbb8
--- a/avogadro/CMakeLists.orig.txt	2021-08-27 00:28:19.000000000 +0200
091fbb8
+++ b/avogadro/CMakeLists.txt	2021-09-01 10:36:39.407384992 +0200
091fbb8
@@ -39,26 +39,6 @@
091fbb8
 
091fbb8
 qt5_add_resources(rcc_srcs avogadro.qrc)
091fbb8
 
091fbb8
-# download and install QM translation files
091fbb8
-# Look in parallel directory for the i18n repository
091fbb8
-set(_i18n "${AvogadroApp_SOURCE_DIR}/../avogadro-i18n")
091fbb8
-if(NOT EXISTS "${_i18n}")
091fbb8
-# download molecules...
091fbb8
-ExternalProject_Add(i18n
091fbb8
-    GIT_REPOSITORY https://github.com/openchemistry/avogadro-i18n
091fbb8
-    SOURCE_DIR "${AvogadroApp_SOURCE_DIR}/../avogadro-i18n"
091fbb8
-    CONFIGURE_COMMAND ""
091fbb8
-    BUILD_COMMAND ""
091fbb8
-    INSTALL_COMMAND ""
091fbb8
-)
091fbb8
-endif()
091fbb8
-
091fbb8
-install(DIRECTORY "${AvogadroApp_SOURCE_DIR}/../avogadro-i18n/avogadroapp/" 
091fbb8
-  "${AvogadroApp_SOURCE_DIR}/../avogadro-i18n/avogadrolibs/"
091fbb8
-  DESTINATION "${INSTALL_DATA_DIR}/avogadro2/i18n"
091fbb8
-  FILES_MATCHING PATTERN "*.qm"
091fbb8
-)
091fbb8
-
48cc309
 if(APPLE OR WIN32 OR INSTALL_BUNDLE_FILES)
091fbb8
 # copy the qt translation files
091fbb8
 get_filename_component(_qttranslationdir "${Qt5_DIR}/../../../translations" ABSOLUTE)