Add workaround for old CMake←→Boost combinations.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f184a19832
commit
1d02c3bd6d
|
@ -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.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_LOG_DYN_LINK")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}_lib
|
||||
PUBLIC
|
||||
Boost::dynamic_linking
|
||||
|
|
Loading…
Reference in New Issue
Block a user