Build: Fix gcc pch builds

(cherry picked from commit 8c4e6c5e14)
This commit is contained in:
Shauren
2020-06-20 13:03:13 +02:00
committed by jackpoz
parent 54e30d4eba
commit 749a825afe

View File

@@ -38,6 +38,11 @@ if(WIN32)
set(Boost_USE_STATIC_RUNTIME OFF)
endif()
if (CMAKE_VERSION VERSION_LESS "3.16.0")
# boost's own cmake file adds extra compile definitions that cotire fails to pick up
set(Boost_NO_BOOST_CMAKE ON)
endif()
include (CheckCXXSourceCompiles)
if (WIN32)