Skip to content

Commit

Permalink
Fix support for building on Windows with Ninja (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Aug 10, 2024
1 parent cf9dd97 commit ce44714
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
9 changes: 8 additions & 1 deletion cmake/Buildosqp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ ycm_ep_helper(osqp TYPE GIT
TAG master
COMPONENT external
FOLDER src
CMAKE_ARGS -DUNITTESTS:BOOL=OFF)
CMAKE_ARGS -DUNITTESTS:BOOL=OFF
-DOSQP_BUILD_STATIC_LIB:BOOL=OFF
-DQDLDL_BUILD_STATIC_LIB:BOOL=OFF)

set(osqp_CONDA_PKG_NAME libosqp)
set(osqp_CONDA_PKG_CONDA_FORGE_OVERRIDE ON)
# This is a small hack. To avoid incompatibilities between the version tagged in the robotology-dependencies fork
# (something like 0.6.3.x) and the version available in conda-forge when generating conda metapackages
# such as robotology-distro and robotology-distro-all, we override the conda package version of manif
# here. This needs to be removed as soon as we stop using our fork in the superbuild
set(osqp_CONDA_VERSION 0.6.3)
3 changes: 2 additions & 1 deletion cmake/ProjectsTagsStable.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ macro(set_tag tag_name tag_value)
endmacro()

# External projects
set_tag(osqp_TAG v0.6.3)
set_tag(osqp_REPOSITORY robotology-dependencies/osqp.git)
set_tag(osqp_TAG v0.6.3.1)
set_tag(manif_REPOSITORY robotology-dependencies/manif.git)
set_tag(manif_TAG 0.0.4.103)
set_tag(qhull_TAG 2020.2)
Expand Down
3 changes: 2 additions & 1 deletion cmake/ProjectsTagsUnstable.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ macro(set_tag tag_name tag_value)
endmacro()

# External projects
set_tag(osqp_TAG v0.6.3)
set_tag(osqp_REPOSITORY robotology-dependencies/osqp.git)
set_tag(osqp_TAG v0.6.3.1)
set_tag(manif_REPOSITORY robotology-dependencies/manif.git)
set_tag(manif_TAG 0.0.4.103)
set_tag(qhull_TAG 2020.2)
Expand Down
4 changes: 2 additions & 2 deletions releases/latest.releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ repositories:
version: v3.2.0.1
osqp:
type: git
url: https://github.com/oxfordcontrol/osqp.git
version: v0.6.3
url: https://github.com/robotology-dependencies/osqp.git
version: v0.6.3.1
manif:
type: git
url: https://github.com/robotology-dependencies/manif.git
Expand Down

0 comments on commit ce44714

Please sign in to comment.