Skip to content

Commit

Permalink
Set explicit flag to use Boost MULTITHREADED (#182)
Browse files Browse the repository at this point in the history
* Set explicit flag to use Boost MULTITHREADED

* Bump CMake version
  • Loading branch information
awegrzyn authored Mar 25, 2020
1 parent 0b09c27 commit 6c67b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -16,7 +17,7 @@ endif()

# Define project
project(Monitoring
VERSION 2.4.0
VERSION 2.6.6
DESCRIPTION "O2 Monitoring library"
LANGUAGES CXX
)
Expand Down

0 comments on commit 6c67b71

Please sign in to comment.