aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-06-20 13:03:13 +0200
committerShauren <shauren.trinity@gmail.com>2020-06-20 13:03:13 +0200
commit8c4e6c5e1404b0663edaf8432bf3eed251a99f85 (patch)
tree7b9aca38e34da1a9462d523689f12cbe68d1f8aa
parent7d9880252ce01b80a18e7f2cc5320a76e3399ce2 (diff)
Build: Fix gcc pch builds
-rw-r--r--dep/boost/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt
index 09129f36173..e5260c862ff 100644
--- a/dep/boost/CMakeLists.txt
+++ b/dep/boost/CMakeLists.txt
@@ -30,6 +30,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)
check_cxx_source_compiles("