mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
1955859cd4
Move existing protobuf package to protobuf-compat to support packages that don't work with modern version of Protobuf. Install headers and libraries into /usr/protobuf-compat so as not to confuse other packages with duplicate headers, and to prevent paths conflicts with non-compat Protobuf. Install link protoc as protoc-compat. Signed-off-by: George Sapkin <george@sapk.in>
10 lines
353 B
Diff
10 lines
353 B
Diff
--- a/cmake/protoc.cmake
|
|
+++ b/cmake/protoc.cmake
|
|
@@ -12,5 +12,5 @@ add_executable(protoc ${protoc_files} ${
|
|
target_link_libraries(protoc libprotoc libprotobuf)
|
|
add_executable(protobuf::protoc ALIAS protoc)
|
|
|
|
-set_target_properties(protoc PROPERTIES
|
|
+set_target_properties(protoc PROPERTIES OUTPUT_NAME protoc-compat
|
|
VERSION ${protobuf_VERSION})
|