CMake: Unbreak finding base translations

This commit is contained in:
TellowKrinkle
2024-05-01 16:46:37 -05:00
committed by Connor McLaughlin
parent 04957b6bda
commit 999f0cc84f
+2
View File
@@ -1,4 +1,6 @@
function(copy_base_translations target)
get_target_property(LCONVERT_EXE Qt6::lconvert IMPORTED_LOCATION)
get_filename_component(QT_BINARY_DIRECTORY "${LCONVERT_EXE}" DIRECTORY)
set(BASE_TRANSLATIONS_DIR "${QT_BINARY_DIRECTORY}/../translations")
if(NOT APPLE)