Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
1d027af2
Commit
1d027af2
authored
Jan 25, 2021
by
Max Lyon
Browse files
link static version of osqp
parent
921b074f
Pipeline
#16606
passed with stages
in 7 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1d027af2
...
...
@@ -529,8 +529,8 @@ target_link_libraries (CoMISo PUBLIC
if
(
NOT TARGET osqp
)
find_package
(
osqp
)
endif
()
if
(
TARGET osqp
)
target_link_libraries
(
CoMISo PRIVATE osqp
)
if
(
TARGET osqp
static
)
target_link_libraries
(
CoMISo PRIVATE osqp
static
)
set
(
COMISO_OSQP_CONFIG_FILE_SETTINGS
"#define COMISO_OSQP_AVAILABLE 1"
)
else
()
set
(
COMISO_OSQP_CONFIG_FILE_SETTINGS
"#define COMISO_OSQP_AVAILABLE 0"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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