pineapple-src/externals/vcpkg/ports/ignition-msgs1/fix-protobuf-static-link-order.patch

15 lines
497 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
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})