From 55503afe72b76bcb8a4981773fc14b58be7c8559 Mon Sep 17 00:00:00 2001 From: andreaslundell Date: Fri, 14 Jun 2024 18:12:33 +0300 Subject: [PATCH] Add Highs basic tests --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31eae8f0..a73ea6bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,7 +192,7 @@ file( if(HAS_CBC) find_package(PkgConfig) - + if(PkgConfig_FOUND) include(FindPkgConfig) find_package(CBC) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8442ec47..94d33b00 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -35,6 +35,12 @@ if(HAS_GUROBI) set(cpptests ${cpptests} Gurobi) endif() +if(HAS_HIGHS) + set(Highs_parts 1 2) + set(cpptests ${cpptests} Highs) +endif() + + if(HAS_GAMS) set(GAMS_parts 1