From 2b1980a30af96be821bd13137b98d75a576b6122 Mon Sep 17 00:00:00 2001 From: Nathan Hourt Date: Tue, 17 Mar 2020 14:45:31 -0500 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 092d74d..b7210db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)