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