aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/QtCreatorAPI.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake
index f6387b7919f..d88cff2fc66 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)
#