pineapple-src/externals/vcpkg/ports/ignition-msgs1/fix-protobuf-static-link-order.patch
2022-07-23 03:01:36 +02:00

14 lines
497 B
Diff
Executable file

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,8 +2,8 @@
# Build a custom protoc plugin
ign_add_executable(ign_msgs_gen Generator.cc generator_main.cc)
target_link_libraries(ign_msgs_gen
- protobuf::libprotobuf
- protobuf::libprotoc)
+ protobuf::libprotoc
+ protobuf::libprotobuf)
target_include_directories(ign_msgs_gen PRIVATE ${PROTOBUF_INCLUDE_DIR})
target_compile_features(ign_msgs_gen PRIVATE ${IGN_CXX_11_FEATURES})