From 89b49e52310c5b5e1549e78b334749c4f486cc7f Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 25 Nov 2020 17:57:29 +0100 Subject: CMake: Fix value of QMAKE_PRL_TARGET in generated .prl files On DLL platforms, the value of QMAKE_PRL_TARGET should be the import library (foo.lib), not the actual DLL (foo.dll). The genex TARGET_LINKER_FILE_NAME provides exactly that. Fixes: QTBUG-88864 Pick-to: 6.0 Change-Id: I553930bb840007772fe8f4612f95e0e320f54107 Reviewed-by: Alexandru Croitor --- cmake/QtPrlHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/QtPrlHelpers.cmake b/cmake/QtPrlHelpers.cmake index 2c0946ebad..709dfb6edf 100644 --- a/cmake/QtPrlHelpers.cmake +++ b/cmake/QtPrlHelpers.cmake @@ -334,7 +334,7 @@ function(qt_generate_prl_file target install_dir) set(prl_step1_content "RCC_OBJECTS = ${rcc_objects} QMAKE_PRL_BUILD_DIR = ${CMAKE_CURRENT_BINARY_DIR} -QMAKE_PRL_TARGET = $ +QMAKE_PRL_TARGET = $ QMAKE_PRL_CONFIG = ${prl_config} QMAKE_PRL_VERSION = ${PROJECT_VERSION} ${prl_step1_content_libs} -- cgit v1.2.3