diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0148e31899..a0491f09af 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -196,6 +196,7 @@ endif() #Boost header libraries find_package(Boost REQUIRED) +find_package(Boost COMPONENTS regex REQUIRED) #Sirius solver if(POLICY CMP0074) diff --git a/src/solver/infeasible-problem-analysis/CMakeLists.txt b/src/solver/infeasible-problem-analysis/CMakeLists.txt index 424235facc..d3e04bad08 100644 --- a/src/solver/infeasible-problem-analysis/CMakeLists.txt +++ b/src/solver/infeasible-problem-analysis/CMakeLists.txt @@ -18,8 +18,8 @@ add_library(infeasible_problem_analysis ${SRC_INFEASIBLE_PROBLEM_ANALYSIS}) target_link_libraries(infeasible_problem_analysis PRIVATE ortools::ortools - Boost::headers Antares::logs + Boost::regex ) target_include_directories(infeasible_problem_analysis PUBLIC diff --git a/src/vcpkg.json b/src/vcpkg.json index 08acfb9e79..e93c189099 100644 --- a/src/vcpkg.json +++ b/src/vcpkg.json @@ -27,6 +27,10 @@ "name": "boost-core", "version>=": "1.81.0" }, + { + "name": "boost-regex", + "version>=": "1.81.0" + }, { "name": "minizip-ng", "default-features": false,