Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cmake
cmake-library
Commits
abc4c85e
Commit
abc4c85e
authored
Feb 05, 2021
by
Jan Möbius
Browse files
Capital GUROBI finder
parent
fd1e1e7b
Pipeline
#16784
failed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/tests/Gurobi/CMakeLists.txt
View file @
abc4c85e
find_package
(
GUROBI REQUIRED
)
add_executable
(
test_c
"test_c.c"
)
target_link_libraries
(
test_c G
urobi
::Gurobi
)
target_link_libraries
(
test_c G
UROBI
::Gurobi
)
add_test
(
NAME test_c COMMAND test_c
)
add_executable
(
test_cxx
"test_cxx.cc"
)
target_link_libraries
(
test_cxx G
urobi
::GurobiCXX
)
target_link_libraries
(
test_cxx G
UROBI
::GurobiCXX
)
add_test
(
NAME test_cxx COMMAND test_cxx
)
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