Skip to content

Commit

Permalink
Fix C/I, take V
Browse files Browse the repository at this point in the history
  • Loading branch information
kordejong committed Aug 29, 2023
1 parent e2ffe55 commit 24cc15b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions environment/cmake/LueConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24cc15b

Please sign in to comment.