mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-26 21:04:23 +08:00
cmake: cxx-generate-packed-data: Link against protobuf::libprotobuf
Apparently ${PROTOBUF_LIBRARY} is empty?
This commit is contained in:
parent
035e780f6a
commit
86a89d1e75
@ -217,7 +217,7 @@ GENERATE_TEST_SOURCES(${TEST_DIR}/test-full.proto t/test-full.pb-c.c t/test-full
|
||||
|
||||
ADD_EXECUTABLE(cxx-generate-packed-data ${TEST_DIR}/generated-code2/cxx-generate-packed-data.cc t/test-full.pb.h t/test-full.pb.cc protobuf-c/protobuf-c.pb.cc protobuf-c/protobuf-c.pb.h)
|
||||
TARGET_LINK_LIBRARIES(cxx-generate-packed-data
|
||||
${PROTOBUF_LIBRARY}
|
||||
protobuf::libprotobuf
|
||||
${protobuf_ABSL_USED_TARGETS}
|
||||
${protobuf_UTF8_USED_TARGETS}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user