Re-add -DBOOST_LOG_DYN_LINK
All checks were successful
continuous-integration/drone/push Build is passing

It seems we still need it. The combination of Boost 1.65.1 and CMake 3.12
does not work otherwise. Not sure whose fault it is.
This commit is contained in:
tastytea 2021-05-31 21:13:34 +02:00
parent c30a8b40be
commit 80e2e9d05d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -15,6 +15,10 @@ target_sources(${PROJECT_NAME}_lib
unset(sources_src)
unset(headers_src)
# Older CMake versions apparently need this, but I don't know in which version
# it changed. Theoretically Boost::dynamic_linking should take care of it.
add_compile_definitions("BOOST_LOG_DYN_LINK")
target_link_libraries(${PROJECT_NAME}_lib
PUBLIC
Boost::dynamic_linking