mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
math/highs: Correct cmake file to fix failures in user code
Failure is in new MiniZinc version failing to link with highs.
This commit is contained in:
parent
8ed3ac764e
commit
54e2d95050
@ -1,6 +1,7 @@
|
||||
PORTNAME= highs
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.5.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
||||
|
13
math/highs/files/patch-highs-config.cmake.in
Normal file
13
math/highs/files/patch-highs-config.cmake.in
Normal file
@ -0,0 +1,13 @@
|
||||
- see https://github.com/ERGO-Code/HiGHS/issues/1329
|
||||
|
||||
--- highs-config.cmake.in.orig 2023-06-16 07:34:37 UTC
|
||||
+++ highs-config.cmake.in
|
||||
@@ -13,7 +13,7 @@ else()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/highs-targets.cmake")
|
||||
endif()
|
||||
|
||||
- set(HIGHS_LIBRARIES libhighs)
|
||||
+ set(HIGHS_LIBRARIES highs)
|
||||
endif()
|
||||
|
||||
set(HIGHS_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
|
Loading…
Reference in New Issue
Block a user