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:
parent
bbf17f8a40
commit
2b1980a30a
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ elseif(WIN32 AND MINGW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
IF(NOT Boost_UNIT_TEST_FRAMEWORK_LIBRARY MATCHES "\\.(a|lib)$")
|
IF(Boost_UNIT_TEST_FRAMEWORK_LIBRARY MATCHES "\\.(so|dll)$")
|
||||||
IF(MSVC)
|
IF(MSVC)
|
||||||
add_definitions(/DBOOST_TEST_DYN_LINK)
|
add_definitions(/DBOOST_TEST_DYN_LINK)
|
||||||
ELSE(MSVC)
|
ELSE(MSVC)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue