qtdeclarative: remove broken OPTIONS patch, revert to original CMakeLists
This commit is contained in:
@@ -130,10 +130,6 @@ fi
|
||||
rm -f CMakeCache.txt
|
||||
rm -rf CMakeFiles
|
||||
|
||||
# Fix: qt_internal_add_resource creates empty targets in cross-compilation
|
||||
# We patch the qmltyperegistrar CMakeLists to add OPTIONS --no-compress
|
||||
python "${COOKBOOK_RECIPE}/patch-resource.py"
|
||||
|
||||
redbear_qt_link_sysroot_dirs "${COOKBOOK_SYSROOT}" plugins mkspecs metatypes modules
|
||||
|
||||
# Patch masm/CheckedArithmetic.h: add missing ArithmeticOperations<unsigned, long>
|
||||
|
||||
@@ -27,6 +27,8 @@ qt_internal_add_module(QmlTypeRegistrarPrivate
|
||||
)
|
||||
|
||||
qt_internal_add_resource(QmlTypeRegistrarPrivate "jsRootMetaTypes"
|
||||
OPTIONS
|
||||
--no-compress
|
||||
PREFIX
|
||||
"/qt-project.org/meta_types"
|
||||
FILES
|
||||
|
||||
Reference in New Issue
Block a user