Fix Boost::log linking issue

This commit is contained in:
Bill Somerville 2020-11-15 04:25:14 +00:00
parent 398604a402
commit 4c05f80a2e
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 0 deletions

View File

@ -1062,6 +1062,7 @@ endif ()
# build a library of package functionality (without and optionally with OpenMP support)
add_library (wsjt_cxx STATIC ${wsjt_CSRCS} ${wsjt_CXXSRCS})
target_compile_definitions (wsjt_cxx PUBLIC BOOST_LOG_DYN_LINK)
target_link_libraries (wsjt_cxx ${LIBM_LIBRARIES} Boost::log_setup ${LIBM_LIBRARIES})
# build an OpenMP variant of the Fortran library routines