aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/QtCreatorAPI.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/QtCreatorAPI.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)
#