diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-08-27 21:05:09 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-09-25 08:59:42 +0200 |
commit | d9d137c8f39b8aa77b28b12fcb6f1642ca650291 (patch) | |
tree | f7684af8fd62014c9211df27955514662cbb8f1e /src/plugins | |
parent | 8bcab6d43f220b23529a2d2f5671e546561a3839 (diff) |
CMake Build: Fix iOS build with PCH and CMake 3.18.3
If a target inherits precompile headers from a different target
that has more languages enabled (CXX, OBJCXX), the target will
depend on PCH artifacts for a language that is not actually
present.
Change-Id: I230f16ee59f2c524a30d41a487093343272722d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/ios/optional/nsphotolibrarysupport/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/optional/nsphotolibrarysupport/CMakeLists.txt b/src/plugins/platforms/ios/optional/nsphotolibrarysupport/CMakeLists.txt index 526a053b02..1176e34935 100644 --- a/src/plugins/platforms/ios/optional/nsphotolibrarysupport/CMakeLists.txt +++ b/src/plugins/platforms/ios/optional/nsphotolibrarysupport/CMakeLists.txt @@ -21,6 +21,14 @@ qt_internal_add_plugin(QIosOptionalPlugin_NSPhotoLibrary Qt::GuiPrivate ) +# special case begin +set_target_properties(QIosOptionalPlugin_NSPhotoLibrary + PROPERTIES + DISABLE_PRECOMPILE_HEADERS ON +) +# special case end + + #### Keys ignored in scope 1:.:.:nsphotolibrarysupport.pro:<TRUE>: # OTHER_FILES = "plugin.json" # PLUGIN_EXTENDS = "-" |