From f2f0f4c188747c95a80317e95c71a1c75ccc9bd3 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 a515fcd43d..75fb3f6e9b 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.36.0

