Skip to content

Commit

Permalink
Merge pull request #23 from felixonmars/patch-1
Browse files Browse the repository at this point in the history
Fix missing ${CMAKE_SOURCE_DIR} in qt5_create_translation
  • Loading branch information
reionwong authored Aug 15, 2023
2 parents 2f78397 + 7ac2668 commit 8647e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ target_link_libraries(cutefish-statusbar
)

file(GLOB TS_FILES translations/*.ts)
qt5_create_translation(QM_FILES ${TS_FILES})
qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR}/src ${TS_FILES})
add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES})
add_dependencies(cutefish-statusbar translations)

Expand Down

0 comments on commit 8647e01

Please sign in to comment.