From 2915921ad2a79a4ce1651dc7297f6571788d1413 Mon Sep 17 00:00:00 2001 From: Li Xinwei <1326710505@qq.com> Date: Fri, 16 Jul 2021 16:28:32 +0800 Subject: Fix generated pri and prl files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quote the paths after "-L". Get MSVC’s implicit link directories from $ENV{LIB}. Fix some issues cause by Inconsistent case. Amends 2c49f85380d7ad79d9473e0f42e7afaa36d31af9 Fixes: QTBUG-95198 Pick-to: 6.2 6.1 Change-Id: Ie82f10b088e2764396377726340509f24a4ae8e7 Reviewed-by: Alexandru Croitor --- cmake/QtFinishPrlFile.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake/QtFinishPrlFile.cmake') diff --git a/cmake/QtFinishPrlFile.cmake b/cmake/QtFinishPrlFile.cmake index a932f2f988..04ae2c9a43 100644 --- a/cmake/QtFinishPrlFile.cmake +++ b/cmake/QtFinishPrlFile.cmake @@ -23,6 +23,7 @@ # LINK_LIBRARY_FLAG: flag used to link a shared library to an executable, e.g. -l on UNIX # IMPLICIT_LINK_DIRECTORIES: list of implicit linker search paths +cmake_policy(SET CMP0007 NEW) include("${CMAKE_CURRENT_LIST_DIR}/QtGenerateLibHelpers.cmake") file(STRINGS "${IN_FILE}" lines) -- cgit v1.2.3