diff --git a/CMakeLists.txt b/CMakeLists.txt index f732dfb..865706c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ target_link_libraries(${PROJECT_NAME} ) file(GLOB TS_FILES translations/*.ts) -qt5_create_translation(QM_FILES ${TS_FILES}) +qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES}) add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES}) add_dependencies(${PROJECT_NAME} translations)