From 5464606e9d90f9140758d0c177bc07172c90f09b Mon Sep 17 00:00:00 2001 From: Li Xinwei <1326710505@qq.com> Date: Mon, 23 Nov 2020 18:38:51 +0800 Subject: [PATCH] CMake: Fix entrypoint output directory when multi-config build When multi-config build, the output directory of Qt6EntryPoint.lib is /lib/Release, the output directory of Qt6EntryPointd.lib is /lib/Debug. This behavior is different from other lib files. Both release and debug lib files should be outputted to /lib. Change-Id: I81d284e4630afebb40ba90fe822dd5bda2b2036a Reviewed-by: Alexandru Croitor (cherry picked from commit 876b22a425aea45023983aae584eb9996886467f) Reviewed-by: Qt Cherry-pick Bot --- src/entrypoint/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entrypoint/CMakeLists.txt b/src/entrypoint/CMakeLists.txt index cc511883c24..f11ab855420 100644 --- a/src/entrypoint/CMakeLists.txt +++ b/src/entrypoint/CMakeLists.txt @@ -42,6 +42,7 @@ if(using_entrypoint_library) ARCHIVE_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}" ) + qt_handle_multi_config_output_dirs(EntryPointImplementation) qt_internal_add_target_aliases(EntryPointImplementation) endif()