void-packages/srcpkgs/kcompletion/patches/cross.patch

12 lines
670 B
Diff

--- a/CMakeLists.txt 2022-03-05 13:56:56.000000000 +0100
+++ - 2022-03-28 22:30:11.749301510 +0200
@@ -45,7 +45,7 @@
option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF)
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
-cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF)
+option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)