Skip to content

Commit da1d893

Browse files
committed
remove required from metis first case
1 parent 84be9dd commit da1d893

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

HiGHS.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Highs", "nuget\Highs.csproj", "{906CCF22-9F98-849C-F4C4-760DF67E239A}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {EC0BE5C3-4D74-4063-8A97-A20816026C5C}
23+
EndGlobalSection
24+
EndGlobal

cmake/FindHipoDeps.cmake

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,13 @@ if(metis_FOUND)
153153
else()
154154
find_path(METIS_PATH
155155
NAMES "metis.h"
156-
REQUIRED
157156
PATHS "${METIS_ROOT}/include"
158157
NO_DEFAULT_PATH)
159158

160159
message(STATUS "Found Metis header at ${METIS_PATH}")
161160

162161
find_library(METIS_LIB
163162
NAMES metis libmetis
164-
REQUIRED
165163
PATHS "${METIS_ROOT}/lib" "${METIS_ROOT}/bin"
166164
NO_DEFAULT_PATH)
167165

@@ -178,14 +176,12 @@ else()
178176
else()
179177
# METIS_ROOT was not successful and there is no cmake config
180178
find_path(METIS_PATH
181-
NAMES "metis.h"
182-
REQUIRED)
179+
NAMES "metis.h")
183180

184181
message(STATUS "Found Metis header at ${METIS_PATH}")
185182

186183
find_library(METIS_LIB
187-
NAMES metis libmetis
188-
REQUIRED)
184+
NAMES metis libmetis)
189185

190186
if(METIS_LIB)
191187
message(STATUS "Found Metis library at ${METIS_LIB}")

0 commit comments

Comments
 (0)