void-packages/srcpkgs/kplotting/patches/cross.patch
2022-03-28 22:41:23 +02:00

11 lines
665 B
Diff

--- a/CMakeLists.txt 2022-03-05 12:17:35.000000000 +0100
+++ - 2022-03-28 22:33:55.042066950 +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