Skip to content

Commit

Permalink
highs win dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Jan 15, 2025
1 parent 51e25bb commit 34c6adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ message(STATUS "Build Fortran: ${FORTRAN}")
option(CSHARP "Build CSharp interface" OFF)
message(STATUS "Build CSharp: ${CSHARP}")

if (FORTRAN)
if (FORTRAN AND CSHARP)
set(BUILD_SHARED_LIBS ON)
endif()

Expand Down Expand Up @@ -404,7 +404,7 @@ if(NOT FAST_BUILD OR CSHARP)
if(CMAKE_CSharp_COMPILER)
enable_language(CSharp)
set(CSHARP_FOUND ON)
if (NOT WIN32)
if (UNIX)
set(BUILD_SHARED_LIBS OFF)
endif()
else()
Expand Down

0 comments on commit 34c6adf

Please sign in to comment.