kconfigwidgets: add cross patch

This commit is contained in:
John 2022-03-28 22:37:21 +02:00
parent 7169ba74ef
commit 716ce8561a

View file

@ -0,0 +1,11 @@
--- 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)