Skip to content

Commit

Permalink
Force building share libraries (#28)
Browse files Browse the repository at this point in the history
This is needed due to the fact Boost 1.70.0 unit_test_framework
target is otherwise selecting the static variant which conflicts
with the hardcoded BOOST_TEST_DYN_LINK.
  • Loading branch information
ktf authored and awegrzyn committed Jun 25, 2019
1 parent 91eab5d commit c190e7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5.2 FATAL_ERROR)
set(BUILD_SHARED_LIBS 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 Down

0 comments on commit c190e7b

Please sign in to comment.