diff --git a/CMakeLists.txt b/CMakeLists.txt index a40b5a7..1131ea3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,8 +84,7 @@ endif() # Install translations file(GLOB TS_FILES translations/*.ts) -qt5_create_translation(QM_FILES ${TS_FILES}) +qt5_add_translation(QM_FILES ${TS_FILES}) add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES}) add_dependencies(cutefish-screenlocker translations) install(FILES ${QM_FILES} DESTINATION /usr/share/cutefish-screenlocker/translations) -