forked from qt-creator/qt-creator
CMake Build: Set BUID_WITH_PCH to OFF if CMake version less 3.16
Change-Id: I11a58cf2e67272b9d45a877dfa20c089706cfc2a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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)
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user