diff options
author | Cristian Adam <cristian.adam@qt.io> | 2021-06-29 12:32:02 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2021-06-29 11:17:49 +0000 |
commit | 4c07f10d33ab3915743ed57d7db36fb526fcec94 (patch) | |
tree | b9dd01d1b141b47c0a68c13c4a20f9422e2d1153 /cmake | |
parent | a659f445c7664f35a88466fc0870f816bd3cdab9 (diff) |
CMake: Fix compilation build with older CMake versions
Change-Id: I86dbff49cf5d00bf75d2e32154db2d3d254e2b17
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorAPIInternal.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtCreatorAPIInternal.cmake b/cmake/QtCreatorAPIInternal.cmake index 20e18d5be9..7ebd2d31d7 100644 --- a/cmake/QtCreatorAPIInternal.cmake +++ b/cmake/QtCreatorAPIInternal.cmake @@ -1,6 +1,6 @@ if (CMAKE_VERSION VERSION_LESS 3.18) if (CMAKE_CXX_COMPILER_ID STREQUAL GNU OR CMAKE_VERSION VERSION_LESS 3.16) - set(BUILD_WITH_PCH OFF) + set(BUILD_WITH_PCH OFF CACHE BOOL "" FORCE) endif() endif() |