UPDATE: change to submodule for protobuf and zmq libs
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user