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

12 lines
484 B
Diff

--- a/CMakeLists.txt 2022-08-07 15:19:37.000000000 +0200
+++ - 2022-09-11 10:33:06.432528721 +0200
@@ -28,7 +28,7 @@
include(CMakeDependentOption)
-cmake_dependent_option(TOOLS_ONLY "Only build the tools and not the rest of KCMUtils" OFF "NOT CMAKE_CROSSCOMPILING" ON)
+option(TOOLS_ONLY "Only build the tools and not the rest of KCMUtils" OFF)
if (TOOLS_ONLY)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
add_subdirectory(tools)