diff --git a/BUILD.bazel b/BUILD.bazel index 8d936611f..5d6d2e646 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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", ) @@ -94,6 +94,9 @@ cc_library( exclude = [ ], ), + data = [ + "sdf", + ], defines = [ "CMAKE_INSTALL_RELATIVE_DATAROOTDIR=\\\"\\\"", 'SDF_SHARE_PATH=\\".\\"', @@ -103,9 +106,6 @@ cc_library( "include", "src", ], - data = [ - "sdf" - ], deps = [ ":Config", ":Export",