Skip to content

Commit

Permalink
bazel, more SWIG
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed May 10, 2022
1 parent ff8e0cd commit 55402af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ licenses(["notice"])

exports_files(["LICENSE"])

PROJECT_NAME = "ignition-math"
PROJECT_NAME = "gz-math"

PROJECT_MAJOR = 7

Expand All @@ -30,7 +30,7 @@ ign_config_header(
name = "config",
src = "include/ignition/math/config.hh.in",
cmakelists = ["CMakeLists.txt"],
project_name = "ignition-math",
project_name = PROJECT_NAME,
project_version = (PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH),
)

Expand Down
2 changes: 1 addition & 1 deletion src/ruby/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if (RUBY_FOUND)
SWIG_LINK_LIBRARIES(${SWIG_RB_LIB}
${RUBY_LIBRARY}
gz-utils${GZ_UTILS_VER}::gz-utils${GZ_UTILS_VER}
ignition-math${PROJECT_VERSION_MAJOR}
gz-math${PROJECT_VERSION_MAJOR}
)
target_compile_features(${SWIG_RB_LIB} PUBLIC ${IGN_CXX_${c++standard}_FEATURES})

Expand Down

0 comments on commit 55402af

Please sign in to comment.