Fix Build

Definitely something strange going on here, as in my environment
the value of Boost_UNIT_TEST_FRAMEWORK_LIBRARY is
"Boost::unit_test_framework"... So this is my fix, but probably
something else should be done.

Boost 1.72.0
This commit is contained in:
Nathan Hourt 2020-03-17 14:45:31 -05:00
parent bbf17f8a40
commit 2b1980a30a
No known key found for this signature in database
GPG key ID: B4344309A110851E

View file

@ -350,7 +350,7 @@ elseif(WIN32 AND MINGW)
endif()
IF(NOT Boost_UNIT_TEST_FRAMEWORK_LIBRARY MATCHES "\\.(a|lib)$")
IF(Boost_UNIT_TEST_FRAMEWORK_LIBRARY MATCHES "\\.(so|dll)$")
IF(MSVC)
add_definitions(/DBOOST_TEST_DYN_LINK)
ELSE(MSVC)