We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d04b45 commit 6a0cae1Copy full SHA for 6a0cae1
1 file changed
cmake/protobuf.cmake
@@ -4,6 +4,7 @@ macro(configure_protobuf)
4
option(protobuf_BUILD_EXAMPLES "" OFF)
5
option(protobuf_BUILD_SHARED_LIBS "" ON)
6
option(protobuf_BUILD_PROTOC_BINARIES "" ON)
7
+ add_definitions(-DPROTOBUF_USE_DLLS)
8
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/protobuf/cmake)
9
add_executable(protobuf::protoc ALIAS protoc)
10
add_library(protobuf::libprotobuf ALIAS libprotobuf)
0 commit comments