Skip to content

Commit

Permalink
Fix defines for config rule and format BUILD.bazel
Browse files Browse the repository at this point in the history
Signed-off-by: Shameek Ganguly <[email protected]>
  • Loading branch information
shameekganguly committed Nov 7, 2024
1 parent f002866 commit 979c610
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ gz_export_header(
gz_configure_header(
name = "Config",
src = "include/sdf/config.hh.in",
defines = {
"CMAKE_INSTALL_FULL_DATAROOTDIR": "unused",
"SDF_PROTOCOL_VERSION": "11111",
},
defines = [
"CMAKE_INSTALL_FULL_DATAROOTDIR=unused",
"SDF_PROTOCOL_VERSION=1.12",
],
package_xml = "package.xml",
)

Expand Down Expand Up @@ -94,6 +94,9 @@ cc_library(
exclude = [
],
),
data = [
"sdf",
],
defines = [
"CMAKE_INSTALL_RELATIVE_DATAROOTDIR=\\\"\\\"",
'SDF_SHARE_PATH=\\".\\"',
Expand All @@ -103,9 +106,6 @@ cc_library(
"include",
"src",
],
data = [
"sdf"
],
deps = [
":Config",
":Export",
Expand Down

0 comments on commit 979c610

Please sign in to comment.