Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v9-minor'
Browse files Browse the repository at this point in the history
  • Loading branch information
scip-ci committed Jul 19, 2024
2 parents f06254b + 12ed15c commit 1234b18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ Build system

### Cmake

- Fixed compilation and linking with HiGHS. To use HiGHS, cmake now requires to specify the directory containing the `highs-config.cmake` file via `-DHIGHS_DIR`.

### Makefile

Miscellaneous
Expand Down
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -565,12 +565,11 @@ else()
endif()

if(HIGHS_FOUND)
include_directories(${HIGHS_INCLUDE_DIRS})
if(LPS STREQUAL "highs")
set(lpi lpi/lpi_highs.cpp)
endif()
set(LPS_LIBRARIES ${LPS_LIBRARIES} ${HIGHS_LIBRARIES} Threads::Threads)
set(LPS_PIC_LIBRARIES ${LPS_PIC_LIBRARIES} ${HIGHS_LIBRARIES} Threads::Threads)
set(LPS_LIBRARIES ${LPS_LIBRARIES} highs::highs)
set(LPS_PIC_LIBRARIES ${LPS_PIC_LIBRARIES} highs::highs)
message(WARNING "EXPERIMENTAL: You are using the experimental HiGHS interface. Please report any issues on https://github.com/scipopt/scip.")
endif()

Expand Down

0 comments on commit 1234b18

Please sign in to comment.