Build: Fix gcc pch builds
This commit is contained in:
1 parent
4d39bb602e
commit
c8a95068e5
1 file changed
+5
@@ -38,6 +38,11 @@ if(WIN32)
|
|||||||
set(Boost_USE_STATIC_RUNTIME OFF)
|
set(Boost_USE_STATIC_RUNTIME OFF)
|
||||||
endif()
|
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)
|
include (CheckCXXSourceCompiles)
|
||||||
|
|
||||||
check_cxx_source_compiles("
|
check_cxx_source_compiles("
|
||||||
|
|||||||
Reference in new issue
Block a user