--- CMakeLists.txt.orig 2020-04-20 17:10:19.486449763 +0200 +++ CMakeLists.txt 2020-04-20 17:11:51.007697213 +0200 @@ -76,11 +76,9 @@ include(GenericFind) if(${HAS_STD_REGEX_REPLACE}) - set(BOOST_REQUIRED_COMPONENTS "filesystem system") - generic_find(LIBNAME Boost REQUIRED COMPONENTS filesystem system unit_test_framework) + find_package(Boost REQUIRED COMPONENTS filesystem system unit_test_framework) else() - set(BOOST_REQUIRED_COMPONENTS "filesystem system regex") - generic_find(LIBNAME Boost REQUIRED COMPONENTS filesystem system regex unit_test_framework) + find_package(Boost REQUIRED COMPONENTS filesystem system regex unit_test_framework) endif() generic_find(LIBNAME gstreamer-1.5 VERSION ${GST_REQUIRED} REQUIRED)