summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-i18n.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-05-14 17:40:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-05-14 17:40:30 +0200
commita68f7141458b5384e859e4c4d61aace0bb5a6d41 (patch)
tree56719d75dca51b0ef0e1f0006559744e3a4eb9a7 /cmake/opentrack-i18n.cmake
parent8f830f974f0fabb7f4ce839dcc581cd68542de9c (diff)
cmake: update to Qt 6
Diffstat (limited to 'cmake/opentrack-i18n.cmake')
-rw-r--r--cmake/opentrack-i18n.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index f3b53895..297307b9 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -9,7 +9,7 @@ add_custom_target(i18n ALL DEPENDS i18n-lrelease)
function(otr_i18n_for_target_directory n)
set(k "opentrack-${n}")
- get_property(lupdate-binary TARGET "${Qt5_LUPDATE_EXECUTABLE}" PROPERTY IMPORTED_LOCATION)
+ get_property(lupdate-binary TARGET "Qt6::lupdate" PROPERTY IMPORTED_LOCATION)
#make_directory("${CMAKE_CURRENT_BINARY_DIR}/lang")
@@ -63,7 +63,7 @@ function(otr_merge_translations)
foreach(i ${opentrack_all-translations})
get_property(ts-files GLOBAL PROPERTY "opentrack-ts-files-${i}")
- get_property(lrelease-binary TARGET "${Qt5_LRELEASE_EXECUTABLE}" PROPERTY IMPORTED_LOCATION)
+ get_property(lrelease-binary TARGET "Qt6::lrelease" PROPERTY IMPORTED_LOCATION)
set(qm-output "${CMAKE_BINARY_DIR}/${i}.qm")