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

12 lines
665 B
Diff
Raw Normal View History

2022-03-28 22:38:04 +02:00
--- a/CMakeLists.txt 2022-03-05 12:17:35.000000000 +0100
+++ - 2022-03-28 22:29:14.364077451 +0200
@@ -30,7 +30,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")
ecm_setup_version(PROJECT VARIABLE_PREFIX KPLOTTING