diff --git a/src/struct_pack/benchmark/BUILD.bazel b/src/struct_pack/benchmark/BUILD.bazel index e9947217b..0ec3b71fc 100644 --- a/src/struct_pack/benchmark/BUILD.bazel +++ b/src/struct_pack/benchmark/BUILD.bazel @@ -10,6 +10,7 @@ cc_binary( "no_op.cpp", "no_op.h", "sample.hpp", + "struct_pb_sample.hpp", "struct_pack_sample.hpp", "msgpack_sample.hpp" ], diff --git a/src/struct_pb/tests/CMakeLists.txt b/src/struct_pb/tests/CMakeLists.txt index f76c19ef6..a845733ca 100644 --- a/src/struct_pb/tests/CMakeLists.txt +++ b/src/struct_pb/tests/CMakeLists.txt @@ -32,6 +32,8 @@ if (Protobuf_FOUND) # message(STATUS "Proto header files: ${PROTO_HDRS}") add_executable(struct_pb_test ${PROTO_SRCS} ${TEST_PROTO}) target_link_libraries(struct_pb_test PRIVATE protobuf::libprotobuf) + add_test(NAME struct_pb_test COMMAND struct_pb_test) else() add_executable(struct_pb_test ${TEST_PROTO}) + add_test(NAME struct_pb_test COMMAND struct_pb_test) endif() \ No newline at end of file