aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-05-11 11:36:22 +0200
committerEike Ziller <eike.ziller@qt.io>2020-05-11 11:36:22 +0200
commit20ef5c6de33e944f22173267ccd39f7629e057d9 (patch)
treeaa830e4e42fa269fa7b316dec08da7821cacbd72 /cmake
parentb9e79f7852aa46b4ccbcda666f1bf99db0690272 (diff)
parentc370d345f19c36016ba0784efe9e65c0cb059947 (diff)
Merge remote-tracking branch 'origin/4.12'
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtCreatorAPI.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake
index f6387b7919..d88cff2fc6 100644
--- a/cmake/QtCreatorAPI.cmake
+++ b/cmake/QtCreatorAPI.cmake
@@ -3,6 +3,10 @@ if(QT_CREATOR_API_DEFINED)
endif()
set(QT_CREATOR_API_DEFINED TRUE)
+if (CMAKE_VERSION VERSION_LESS 3.16)
+ set(BUILD_WITH_PCH OFF)
+endif()
+
include(FeatureSummary)
#