flightgear: fix cross build

This commit is contained in:
Duncaen
2025-12-20 22:31:24 +01:00
parent b87c830894
commit fd97f1f01d
2 changed files with 20 additions and 2 deletions
@@ -0,0 +1,20 @@
--- a/CMakeModules/Translations.cmake
+++ b/CMakeModules/Translations.cmake
@@ -12,7 +12,7 @@
set(do_translate FALSE)
endif()
-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS LinguistTools)
+find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Linguist)
if (${do_translate} AND NOT TARGET Qt${QT_VERSION_MAJOR}::lrelease)
set(do_translate FALSE)
message(STATUS "Built-in translations disabled becuase Qt lrelease tool was not found."
@@ -81,7 +81,7 @@
set(HAVE_QRC_TRANSLATIONS TRUE)
add_custom_target(ts)
-
+
foreach(lang ${LANGUAGES})
add_custom_target(
ts_${lang}
-2
View File
@@ -29,8 +29,6 @@ skip_extraction="fgdata-${version}.tar.bz2"
CXXFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
nocross="https://build.voidlinux.org/#/builders/6/builds/4512"
post_extract() {
mkdir -p fgdata
vsrcextract -C fgdata $skip_extraction