Skip to content

Commit

Permalink
fix publishing (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
przsus authored Oct 25, 2023
1 parent 857e511 commit e81db4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libebpfdiscoveryproto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
set(PROTO_DIR_NAME proto)
set(PROTO_DIR_NAME ebpfdiscoveryproto)
set(SRC_DIR_NAME src)

list(
APPEND
PROTO_SOURCES
${PROTO_DIR_NAME}/ebpfdiscoveryproto/service.proto
${PROTO_DIR_NAME}/service.proto
)

list(
Expand All @@ -20,7 +20,7 @@ protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS ${PROTO_SOURCES})
add_library(${TARGET} STATIC ${PROTO_SRCS} ${SOURCES})
target_link_libraries(${TARGET} protobuf::libprotobuf)
target_link_libraries(${TARGET} service)
target_include_directories(${TARGET} PRIVATE ${CMAKE_CURRENT_BINARY_DIR} PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/${PROTO_DIR_NAME} headers)
target_include_directories(${TARGET} PUBLIC ${CMAKE_CURRENT_BINARY_DIR} headers)

if (BUILD_TESTS)
list(APPEND TEST_SOURCES test/TranslatorTest.cpp)
Expand Down

0 comments on commit e81db4f

Please sign in to comment.