Commit 1d027af2 authored by Max Lyon's avatar Max Lyon
Browse files

link static version of osqp

parent 921b074f
Pipeline #16606 passed with stages
in 7 minutes and 44 seconds
......@@ -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 osqpstatic)
target_link_libraries (CoMISo PRIVATE osqpstatic)
set (COMISO_OSQP_CONFIG_FILE_SETTINGS "#define COMISO_OSQP_AVAILABLE 1" )
else()
set (COMISO_OSQP_CONFIG_FILE_SETTINGS "#define COMISO_OSQP_AVAILABLE 0" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment