summaryrefslogtreecommitdiffstats
path: root/src/entrypoint
diff options
context:
space:
mode:
authorLi Xinwei <1326710505@qq.com>2020-11-23 18:38:51 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-11-23 16:26:35 +0000
commit5464606e9d90f9140758d0c177bc07172c90f09b (patch)
tree5f19fbabbac0f17e2a81b451080c09ed29669394 /src/entrypoint
parent3bfcab1718571a04109b3b30e54ea310a11f3d4a (diff)
CMake: Fix entrypoint output directory when multi-config build
When multi-config build, the output directory of Qt6EntryPoint.lib is <build_dir>/lib/Release, the output directory of Qt6EntryPointd.lib is <build_dir>/lib/Debug. This behavior is different from other lib files. Both release and debug lib files should be outputted to <build_dir>/lib. Change-Id: I81d284e4630afebb40ba90fe822dd5bda2b2036a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 876b22a425aea45023983aae584eb9996886467f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/entrypoint')
-rw-r--r--src/entrypoint/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entrypoint/CMakeLists.txt b/src/entrypoint/CMakeLists.txt
index cc511883c2..f11ab85542 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()