diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1f0a6712b2..86832a1690 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -189,6 +189,7 @@ endif() #Boost header libraries find_package(Boost REQUIRED) +find_package(Boost COMPONENTS regex REQUIRED) find_package(antlr4-runtime REQUIRED) find_package(yaml-cpp REQUIRED) diff --git a/src/solver/infeasible-problem-analysis/CMakeLists.txt b/src/solver/infeasible-problem-analysis/CMakeLists.txt index 72b93ad153..d56f227897 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 68a34fa53c..ffd9f93c6b 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,