diff options
author | Li Xinwei <1326710505@qq.com> | 2020-11-23 18:38:51 +0800 |
---|---|---|
committer | Li Xinwei <1326710505@qq.com> | 2020-11-23 19:54:08 +0800 |
commit | 876b22a425aea45023983aae584eb9996886467f (patch) | |
tree | 146a7d34073c395e7dc16e1f917b50502c0426a1 /src/entrypoint | |
parent | e59ab8b5907f87a77cc6924abab5fb1c82483856 (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.
Pick-to: 6.0
Change-Id: I81d284e4630afebb40ba90fe822dd5bda2b2036a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/entrypoint')
-rw-r--r-- | src/entrypoint/CMakeLists.txt | 1 |
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() |