From 5a6e8346a3df914302abcb5f6874ddc3e58f1b79 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Thu, 17 Sep 2020 20:26:53 +0200 Subject: [PATCH] Fix build with Boost 1.70 Fixes #88 --- rhubarb/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rhubarb/CMakeLists.txt b/rhubarb/CMakeLists.txt index 17b257f..baad3d7 100644 --- a/rhubarb/CMakeLists.txt +++ b/rhubarb/CMakeLists.txt @@ -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