mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build: Fix gcc pch builds
This commit is contained in:
@@ -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("
|
||||
|
||||
Reference in New Issue
Block a user