Maybe fix Mac build
This commit is contained in:
@@ -35,6 +35,8 @@ include_directories(${SDL2_INCLUDE_DIR})
|
||||
set(BOOST_ROOT "${CMAKE_SOURCE_DIR}/third_party/boost")
|
||||
set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/third_party/boost")
|
||||
set(Boost_NO_SYSTEM_PATHS ON)
|
||||
add_compile_definitions(BOOST_NO_CXX98_FUNCTION_BASE) # Forbid Boost from using std::unary_function (Fixes MacOS build)
|
||||
|
||||
add_library(boost INTERFACE)
|
||||
target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIR})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user