From 6c67b71b3d0fe18f766536061348deb13001f878 Mon Sep 17 00:00:00 2001 From: Adam Wegrzynek Date: Wed, 25 Mar 2020 13:59:38 +0100 Subject: [PATCH] Set explicit flag to use Boost MULTITHREADED (#182) * Set explicit flag to use Boost MULTITHREADED * Bump CMake version --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a65d3c5d5..5849d572a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5.2 FATAL_ERROR) set(Boost_USE_STATIC_RUNTIME OFF) set(Boost_USE_STATIC_LIBS OFF) set(BUILD_SHARED_LIBS ON) +set(Boost_USE_MULTITHREADED ON) # Set cmake policy by version: https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html if(${CMAKE_VERSION} VERSION_LESS 3.12) @@ -16,7 +17,7 @@ endif() # Define project project(Monitoring - VERSION 2.4.0 + VERSION 2.6.6 DESCRIPTION "O2 Monitoring library" LANGUAGES CXX )