mirror of
https://github.com/ModOrganizer2/cmake_common.git
synced 2026-07-27 14:06:46 -07:00
Minor fixes.
This commit is contained in:
+3
-1
@@ -98,7 +98,8 @@ function(mo2_configure_target MO2_TARGET)
|
||||
|
||||
|
||||
if(${MO2_TRANSLATIONS})
|
||||
find_package(Qt6LinguistTools)
|
||||
find_package(Qt6 COMPONENTS Core REQUIRED)
|
||||
find_package(Qt6 COMPONENTS LinguistTools REQUIRED)
|
||||
|
||||
if (MO2_EXTRA_TRANSLATIONS)
|
||||
file(GLOB_RECURSE MO2_EXTRA_TRANSLATIONS CONFIGURE_DEPENDS
|
||||
@@ -114,6 +115,7 @@ function(mo2_configure_target MO2_TARGET)
|
||||
QM_FILES_OUTPUT_VARIABLE qm_files
|
||||
SOURCES ${translation_files}
|
||||
LUPDATE_OPTIONS -silent
|
||||
LRELEASE_OPTIONS -silent
|
||||
)
|
||||
|
||||
# we need to set this property otherwise there is an issue with C# projects
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ function(mo2_python_translations MO2_TARGET)
|
||||
|
||||
add_custom_command(OUTPUT ${ts_file}
|
||||
COMMAND ${PYTHON_ROOT}/PCbuild/amd64/python.exe
|
||||
ARGS -I -m PyQt${QT_MAJOR_VERSION}.lupdate.pylupdate ${_lupdate_options} --ts "${ts_file}" ${src_files} --verbose
|
||||
ARGS -I -m PyQt${QT_MAJOR_VERSION}.lupdate.pylupdate ${_lupdate_options} --ts "${ts_file}" ${src_files}
|
||||
DEPENDS ${src_files}
|
||||
WORKING_DIRECTORY ${PYTHON_ROOT}
|
||||
VERBATIM)
|
||||
|
||||
Reference in New Issue
Block a user