diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-03 14:23:18 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-03 21:51:06 +0200 |
commit | 430232e44d5e6c7d7fd7ca3ebebb06d74e21ce2f (patch) | |
tree | a5e2f6e636ef33a6f58ead2cda88b5720996606f /tests/manual/qnetworkaccessmanager/qget/qget.cpp | |
parent | 91218299166942548cd0c1776d391f565249b112 (diff) |
CMake: Adjust PCH support for multi-arch iOS builds
Starting with CMake 3.18, there is PCH support for darwin multi-arch
builds, like iOS simulator_and_device builds.
Also enable PCH for Objective-C++ files when the support is there.
To enable PCH for Objective-C++, we need to do enable the OBJCXX
language as well, but conditionally, because on non-darwin platforms
the language is probably not available.
Introduce the qt_enable_cmake_languages() macro which is called
automatically by qt_build_repo_begin().
Change-Id: I0e7f44be6577ac54ce940470036626409920e272
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual/qnetworkaccessmanager/qget/qget.cpp')
0 files changed, 0 insertions, 0 deletions