diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-06-20 13:03:13 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2020-06-20 15:11:03 +0200 |
commit | 749a825afec0ffce76d9608de53f73b005415311 (patch) | |
tree | 9b002c3c0e020d83fb6b1754d4382ac3cba593a0 /dep | |
parent | 54e30d4ebae11e0c8da77af6104a3cc0a6a11365 (diff) |
Build: Fix gcc pch builds
(cherry picked from commit 8c4e6c5e1404b0663edaf8432bf3eed251a99f85)
Diffstat (limited to 'dep')
-rw-r--r-- | dep/boost/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index 08c41f4351c..727b7be2ee3 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -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) |