69b2713
From 823939555acf4460e962985276ef292d02cc3d46 Mon Sep 17 00:00:00 2001
69b2713
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
69b2713
Date: Sun, 15 Oct 2023 13:05:24 +0200
69b2713
Subject: [PATCH] Use QtIoCompressor from Qt5
69b2713
69b2713
---
69b2713
 CMakeLists.txt | 4 ++--
69b2713
 1 file changed, 2 insertions(+), 2 deletions(-)
cb46d97
69b2713
diff --git a/CMakeLists.txt b/CMakeLists.txt
69b2713
index 600dc6efe..5af6b2663 100644
69b2713
--- a/CMakeLists.txt
69b2713
+++ b/CMakeLists.txt
69b2713
@@ -390,8 +390,8 @@ endif(USE_SYSTEM_QTSINGLEAPPLICATION)
69b2713
 
b0a536a
 # QtIoCompressor isn't patched, so we can use a system version if it's
b0a536a
 # available
b0a536a
-find_path(QTIOCOMPRESSOR_INCLUDE_DIRS qtiocompressor.h PATH_SUFFIXES QtSolutions)
b0a536a
-find_library(QTIOCOMPRESSOR_LIBRARIES QtSolutions_IOCompressor-2.3)
b0a536a
+find_path(QTIOCOMPRESSOR_INCLUDE_DIRS qtiocompressor.h PATH_SUFFIXES qt5/QtSolutions)
b0a536a
+find_library(QTIOCOMPRESSOR_LIBRARIES Qt5Solutions_IOCompressor-2.3)
b0a536a
 if(NOT QTIOCOMPRESSOR_INCLUDE_DIRS OR NOT QTIOCOMPRESSOR_LIBRARIES)
b0a536a
   add_subdirectory(3rdparty/qtiocompressor)
b0a536a
   set(QTIOCOMPRESSOR_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qtiocompressor)
69b2713
-- 
69b2713
2.41.0
69b2713