summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-12-15 17:28:37 +0100
committerMichal Klocek <michal.klocek@qt.io>2024-01-01 22:04:44 +0000
commit290a93bcf4ebb3ae6582e3cae8cb4b2f4bd7c38b (patch)
treec4c5341f9296ef8ce37169c006c77ef11afd43a4 /src/core
parente2b5911bd47ebabea84e68418e0ae3f495067eb8 (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) Pick-to: 6.7 6.6 Change-Id: I808afbad4b1dac565049eca084bef187e93e6fd0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/api/Qt6WebEngineCoreMacros.cmake2
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})