Blob Blame History Raw
diff -rupN --no-dereference qtimageformats-everywhere-src-6.4.2/CMakeLists.txt qtimageformats-everywhere-src-6.4.2-new/CMakeLists.txt
--- qtimageformats-everywhere-src-6.4.2/CMakeLists.txt	2022-12-12 15:02:14.000000000 +0100
+++ qtimageformats-everywhere-src-6.4.2-new/CMakeLists.txt	2023-03-28 11:42:20.775910462 +0200
@@ -16,4 +16,9 @@ if(NOT TARGET Qt::Gui)
     message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.")
     return()
 endif()
+if (NOT TARGET Threads::Threads)
+    find_package(Threads)
+endif()
+qt_internal_disable_find_package_global_promotion(Threads::Threads)
+
 qt_build_repo()