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

12 lines
644 B
Diff

--- a/CMakeLists.txt 2022-03-05 13:57:20.000000000 +0100
+++ - 2022-03-28 22:35:00.337296905 +0200
@@ -41,7 +41,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")
if (NOT ANDROID AND NOT WIN32)