Pass compilers on to examples configs

Otherwise they will just use default compiler

Pick-to: 6.3
Change-Id: Id5813b99fbbb6b0d8b0ee658e06312b637a097c1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Allan Sandfeld Jensen 2022-04-26 12:16:52 +02:00
parent c5e36ca85a
commit c164b75c17

View File

@ -1046,9 +1046,13 @@ function(qt_internal_add_example_external_project subdir)
CMAKE_OSX_DEPLOYMENT_TARGET:STRING
CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED:BOOL
CMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH:BOOL
CMAKE_C_COMPILER:STRING
CMAKE_C_COMPILER_LAUNCHER:STRING
CMAKE_CXX_COMPILER:STRING
CMAKE_CXX_COMPILER_LAUNCHER:STRING
CMAKE_OBJC_COMPILER:STRING
CMAKE_OBJC_COMPILER_LAUNCHER:STRING
CMAKE_OBJCXX_COMPILER:STRING
CMAKE_OBJCXX_COMPILER_LAUNCHER:STRING
)