FIX: build protobuf static
This commit is contained in:
@@ -24,11 +24,11 @@ IF(NOT TARGET cppzmq)
|
||||
add_subdirectory(libs/cppzmq EXCLUDE_FROM_ALL)
|
||||
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 "")
|
||||
set(protobuf_BUILD_SHARED_LIBS OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/protobuf )
|
||||
include(protobuf)
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user