summarylogtreecommitdiffstats
path: root/qt6_karchive.patch
blob: e79836e8cc2507e487e55689f9a830410ad10385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ruN klogg-22.06/3rdparty/CMakeLists.txt klogg-22.06.patched/3rdparty/CMakeLists.txt
--- klogg-22.06/3rdparty/CMakeLists.txt 2022-06-14 22:21:49.000000000 +0000
+++ klogg-22.06.patched/3rdparty/CMakeLists.txt 2023-06-07 22:09:04.246482427 +0000
@@ -106,6 +106,9 @@
   target_include_directories(uchardet_wrapper INTERFACE ${UCHARDET_INCLUDE_DIR})
 endif()
 
+if(${QT_VERSION_MAJOR} EQUAL 6) 
+set(CPM_USE_LOCAL_PACKAGES OFF)
+endif()
 cpmaddpackage(
   NAME
   KF5Archive
@@ -121,6 +124,7 @@
   add_library(klogg_karchive INTERFACE)
   target_link_libraries(klogg_karchive INTERFACE KF5::Archive)
 endif()
+set(CPM_USE_LOCAL_PACKAGES ON)
 
 cpmaddpackage(
   NAME