diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-12-15 17:28:37 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-07 01:42:59 +0000 |
commit | d41ca8eedee20409bd38b2668ead2d420ba38fdb (patch) | |
tree | e157e059140093a302f087fd2eb0470f83df33cd | |
parent | d9cf674ed9fe682d4b3bec8eff81e381c7251d68 (diff) |
Fix wrong dictionary file layout
The MACOSX_BUNDLE can be always set despite of the platform,
so check if we are on mac (or ios for completeness)
Change-Id: I808afbad4b1dac565049eca084bef187e93e6fd0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 290a93bcf4ebb3ae6582e3cae8cb4b2f4bd7c38b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 85de311ce282ee513d28874f14ae00a4b77f33ef)
-rw-r--r-- | src/core/api/Qt6WebEngineCoreMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/Qt6WebEngineCoreMacros.cmake b/src/core/api/Qt6WebEngineCoreMacros.cmake index a5f80f7b4..6c335aad1 100644 --- a/src/core/api/Qt6WebEngineCoreMacros.cmake +++ b/src/core/api/Qt6WebEngineCoreMacros.cmake @@ -29,7 +29,7 @@ function(qt6_add_webengine_dictionary) set(copyCommand COMMAND ${CMAKE_COMMAND} -E copy_directory ${ARGS_OUTPUT_DIRECTORY}/dict ${ARGS_OUTPUT_DIRECTORY}/$<CONFIG> ) - elseif(isBundle) + elseif((MACOS OR IOS) AND isBundle) get_target_property(outputName ${ARGS_TARGET} OUTPUT_NAME) if(NOT outputName) set(outputName ${ARGS_TARGET}) |