Commit c4960881 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

fix osqp target name (as with v0.6.2.dev0-43-g4652cdd4)

parent 342513dd
Pipeline #19158 passed with stages
in 9 minutes and 47 seconds
......@@ -538,8 +538,8 @@ target_link_libraries (CoMISo PUBLIC
if (NOT TARGET osqp)
find_package(osqp)
endif()
if (TARGET osqpstatic)
target_link_libraries (CoMISo PRIVATE osqpstatic)
if (TARGET osqp::osqpstatic)
target_link_libraries (CoMISo PRIVATE osqp::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