summaryrefslogtreecommitdiff
path: root/x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch')
-rw-r--r--x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch b/x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch
new file mode 100644
index 000000000000..aaa3050b8079
--- /dev/null
+++ b/x11-misc/albert/files/albert-0.20.13-use-system-qhotkey-libraries-and-headers.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a48c253..ae5a549 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -45,8 +45,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+
+ set(QT_DEFAULT_MAJOR_VERSION 6)
+ set(BUILD_SHARED_LIBS FALSE)
+-add_subdirectory(lib/QHotkey EXCLUDE_FROM_ALL)
+-target_compile_options(qhotkey PRIVATE -Wno-unused-parameter -Wno-shadow)
+
+ set(TARGET_LIB ${PROJECT_NAME})
+