Skip to content

Commit

Permalink
Merge pull request #267 from bluescarni/pr/iter
Browse files Browse the repository at this point in the history
Disable boost autolink
  • Loading branch information
bluescarni committed Jan 26, 2021
2 parents bc14c2d + 9bce184 commit 58a6f08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()

project(mp++ VERSION 0.22 LANGUAGES CXX C)
project(mp++ VERSION 0.23 LANGUAGES CXX C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/yacma")

Expand Down Expand Up @@ -276,8 +276,8 @@ if(MPPP_BUILD_STATIC_LIBRARY)
else()
# Setup of the mp++ shared library.
add_library(mp++ SHARED "${MPPP_SRC_FILES}")
set_property(TARGET mp++ PROPERTY VERSION "8.0")
set_property(TARGET mp++ PROPERTY SOVERSION 8)
set_property(TARGET mp++ PROPERTY VERSION "9.0")
set_property(TARGET mp++ PROPERTY SOVERSION 9)
set_property(TARGET mp++ PROPERTY DEFINE_SYMBOL "mppp_EXPORTS")
set_target_properties(mp++ PROPERTIES CXX_VISIBILITY_PRESET hidden)
set_target_properties(mp++ PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE)
Expand Down Expand Up @@ -407,7 +407,7 @@ endif()
set(_MPPP_MIN_BOOST_VERSION "1.60")
if(MPPP_WITH_BOOST_S11N)
find_package(Boost ${_MPPP_MIN_BOOST_VERSION} REQUIRED COMPONENTS serialization)
target_link_libraries(mp++ PUBLIC Boost::serialization)
target_link_libraries(mp++ PUBLIC Boost::serialization Boost::disable_autolinking)
endif()

# Mandatory dependency on GMP.
Expand Down

0 comments on commit 58a6f08

Please sign in to comment.