UPDATE: change to submodule for protobuf and zmq libs

This commit is contained in:
Henry Winkel
2023-11-07 10:22:14 +01:00
parent 36bd28620d
commit e41cbd8a82
3414 changed files with 2325 additions and 1038133 deletions

View File

@@ -25,11 +25,13 @@ IF(NOT TARGET cppzmq)
ENDIF()
IF(NOT TARGET protobuf)
set(ABSL_PROPAGATE_CXX_STD ON CACHE INTERNAL "")
set(protobuf_BUILD_TESTS OFF CACHE INTERNAL "")
set(protobuf_BUILD_EXAMPLES OFF CACHE INTERNAL "")
add_subdirectory(libs/protobuf )
include(protobuf)
ENDIF()
protobuf_generate_cpp(PROTO_PATH include/WHISPER/Messages/Protos/ CPP_PATH include/WHISPER/Messages/Protos HPP_PATH include/WHISPER/Messages/Protos)