From 24cc15b7db66f9f4e6ae3d75e85084e051f8bb22 Mon Sep 17 00:00:00 2001 From: Kor de Jong Date: Tue, 29 Aug 2023 18:32:38 +0200 Subject: [PATCH] Fix C/I, take V --- environment/cmake/LueConfiguration.cmake | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/environment/cmake/LueConfiguration.cmake b/environment/cmake/LueConfiguration.cmake index 99f1dc6e5..f502874e7 100644 --- a/environment/cmake/LueConfiguration.cmake +++ b/environment/cmake/LueConfiguration.cmake @@ -363,13 +363,7 @@ if(LUE_BOOST_REQUIRED) list(APPEND LUE_REQUIRED_BOOST_COMPONENTS regex) endif() - # Explicitly use Module Mode, to prevent the use of Boost's own CMake find logic. This latter - # logic does not provide us with Boost_LIBRARY_DIRS, which we use in the add_unite_test - # function. - # Note that Conan prefers Config Mode (it sets CMAKE_FIND_PACKAGE_PREFER_CONFIG in the - # toolchain). This implies that we cannot use Boost as installed by Conan for now. Fix this - # when actually needed. - find_package(Boost MODULE REQUIRED COMPONENTS ${LUE_REQUIRED_BOOST_COMPONENTS}) + find_package(Boost REQUIRED COMPONENTS ${LUE_REQUIRED_BOOST_COMPONENTS}) if(Boost_VERSION VERSION_EQUAL "1.75") message(FATAL_ERROR