Martchus
aad0f91e60
Unfortunately mingw-w64-qt6-multimedia does not build at all anymore (not even without an actual backend like before).
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From df6149b47dc40dbb49686374e915cabd05e492e1 Mon Sep 17 00:00:00 2001
|
|
From: Martchus <martchus@gmx.net>
|
|
Date: Sun, 8 Nov 2020 00:34:09 +0100
|
|
Subject: [PATCH 07/12] Allow overriding CMAKE_FIND_LIBRARY_SUFFIXES to prefer
|
|
static libraries
|
|
|
|
Change-Id: I4c617e0706044d31da1bd56ae51615dc8ed37099
|
|
---
|
|
cmake/QtBuildInternals/QtBuildInternalsConfig.cmake | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
|
|
index 9731eda061..396d4c26ec 100644
|
|
--- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
|
|
+++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
|
|
@@ -1,6 +1,10 @@
|
|
# These values should be kept in sync with those in qtbase/.cmake.conf
|
|
cmake_minimum_required(VERSION 3.16...3.20)
|
|
|
|
+if (CMAKE_FIND_LIBRARY_SUFFIXES_OVERRIDE)
|
|
+ set(CMAKE_FIND_LIBRARY_SUFFIXES "${CMAKE_FIND_LIBRARY_SUFFIXES_OVERRIDE}")
|
|
+endif ()
|
|
+
|
|
###############################################
|
|
#
|
|
# Macros and functions for building Qt modules
|
|
--
|
|
2.37.3
|
|
|