From e5886cfd0f9f57fa6222b54246f0ff4739c3b05d Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Tue, 16 Jul 2024 15:38:29 +0200 Subject: [PATCH] fix link --- src/solver/misc/options.cpp | 14 -------------- src/tools/batchrun/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/solver/misc/options.cpp b/src/solver/misc/options.cpp index e4d482a999..e1fb15d666 100644 --- a/src/solver/misc/options.cpp +++ b/src/solver/misc/options.cpp @@ -54,20 +54,6 @@ using namespace Yuni; using namespace Antares; using namespace Antares::Data; -static std::string availableOrToolsSolversString() -{ - const std::list availableSolverList = getAvailableOrtoolsSolverName(); - std::string availableSolverListStr; - for (auto it = availableSolverList.begin(); it != availableSolverList.end(); it++) - { - availableSolverListStr += *it + ";"; - } - // Remove last semicolumn - if (!availableSolverListStr.empty()) - availableSolverListStr.pop_back(); - return availableSolverListStr; -} - std::unique_ptr CreateParser(Settings& settings, Antares::Data::StudyLoadOptions& options) { diff --git a/src/tools/batchrun/CMakeLists.txt b/src/tools/batchrun/CMakeLists.txt index a4ba01d80b..2457da817f 100644 --- a/src/tools/batchrun/CMakeLists.txt +++ b/src/tools/batchrun/CMakeLists.txt @@ -39,6 +39,7 @@ set(BATCHRUN_LIBS libantares-core libantares-core-calendar yuni-static-core + utils ${CMAKE_THREADS_LIBS_INIT} )