Skip to content

Commit

Permalink
Fix build with Boost 1.70
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSWolf committed Sep 17, 2020
1 parent 2f6e8bc commit 5a6e834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rhubarb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(Boost_USE_STATIC_LIBS ON) # Use static libs
set(Boost_USE_MULTITHREADED ON) # Enable multithreading support
set(Boost_USE_STATIC_RUNTIME ON) # Use static C++ runtime
set(Boost_NO_BOOST_CMAKE ON) # Workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/18865
find_package(Boost 1.54 REQUIRED COMPONENTS filesystem locale system)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
link_libraries(${Boost_LIBRARIES}) # Just about every project needs Boost
Expand Down

0 comments on commit 5a6e834

Please sign in to comment.