Skip to content

Commit e646930

Browse files
committed
link error locally with shared?
1 parent 558012e commit e646930

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ endif()
189189

190190
# HiPO deps
191191
if(HIPO)
192+
if (WIN32)
193+
set(BUILD_SHARED_LIBS ON)
194+
endif()
192195
# find_package(METIS REQUIRED)
193196
# find_package(GKlib REQUIRED)
194197
# does not work with outdated CMake

highs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ else()
230230
"/MP" # Build with multiple processes
231231
"/Zc:preprocessor" # Enable preprocessor conformance mode
232232
"/fp:precise"
233+
"/EHsc"
233234
)
234235
if (CMAKE_BUILD_TYPE STREQUAL Release)
235236
list(APPEND highs_compile_opts

highs/ipm/hipo/factorhighs/Analyse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include "DataCollector.h"
1010
#include "FactorHiGHSSettings.h"
11-
#include "GKlib.h"
11+
// #include "GKlib.h"
1212
#include "ReturnValues.h"
1313
#include "ipm/hipo/auxiliary/Auxiliary.h"
1414
#include "ipm/hipo/auxiliary/Log.h"

0 commit comments

Comments
 (0)