Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
AVT-SVT
public
thirdparty
xpress
Commits
5b9c3090
Commit
5b9c3090
authored
Nov 03, 2022
by
Hatim Djelassi
Browse files
Fix environment variable name in find module
Fix required for XPRESS 8.13 using Bourne shell
parent
0d407924
Changes
1
Hide whitespace changes
Inline
Side-by-side
FindXpress.cmake
View file @
5b9c3090
#adapted from SCIPOPT
find_path
(
XPRESS_INCLUDE_DIRS
xprs.h
HINTS
${
XPRESS_DIR
}
$ENV{XPRESS
_
DIR}
HINTS
${
XPRESS_DIR
}
$ENV{XPRESSDIR}
PATH_SUFFIXES include
)
# todo: enable recursive search
find_library
(
XPRESS_LIBRARY
NAMES xprs
HINTS
${
XPRESS_DIR
}
$ENV{XPRESS
_
DIR}
HINTS
${
XPRESS_DIR
}
$ENV{XPRESSDIR}
PATH_SUFFIXES lib
)
find_library
(
XPRESS_LIBRARY_cpp
NAMES xprb
HINTS
${
XPRESS_DIR
}
$ENV{XPRESS
_
DIR}
HINTS
${
XPRESS_DIR
}
$ENV{XPRESSDIR}
PATH_SUFFIXES lib
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment