summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2024-03-13 16:28:06 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2024-03-13 16:43:39 +0000
commit1321c9cc1508b0014af6462f101b765ad7805942 (patch)
treead28e882a9d5308371932d3f178e1e2e68094be5
parentdf40c77a9a2bb2da90c5367f2ed217f027106e8f (diff)
FIXUP for Force use of classic linker on AppleClang 15
There was a PRIVATE missing when adding the linker flag due to a copying error from the development system. The CI did not catch this due to not compiling with XCode 15 yet. Pick-to: 6.7 6.6 Fixes: QTBUG-122655 Change-Id: I1fbbba594fbef6b3d27b93c5d2c729f7b685d9ed Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--cmake/Functions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index fc3011cff..9864cf97b 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -1221,7 +1221,7 @@ function(add_gn_build_artifacts_to_target)
# or QTBUG-122655 for details.
if(APPLECLANG)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
- target_link_options(${arg_CMAKE_TARGET} -ld_classic)
+ target_link_options(${arg_CMAKE_TARGET} PRIVATE -ld_classic)
endif()
endif()
if(QT_IS_MACOS_UNIVERSAL)