|
|
|
@ -40,12 +40,12 @@ endif() |
|
|
|
|
if(WITH_PROTOC) |
|
|
|
|
set(protobuf_PROTOC_EXE ${WITH_PROTOC} CACHE FILEPATH "Protocol Buffer Compiler executable" FORCE) |
|
|
|
|
endif() |
|
|
|
|
option(protobuf_DISABLE_RTTI "Remove runtime type information in the binaries" ON) |
|
|
|
|
option(protobuf_BUILD_TESTS "Build tests" ON) |
|
|
|
|
option(protobuf_BUILD_CONFORMANCE "Build conformance tests" OFF) |
|
|
|
|
option(protobuf_BUILD_EXAMPLES "Build examples" OFF) |
|
|
|
|
option(protobuf_BUILD_PROTOC_BINARIES "Build libprotoc and protoc compiler" ON) |
|
|
|
|
option(protobuf_BUILD_LIBPROTOC "Build libprotoc" OFF) |
|
|
|
|
option(protobuf_DISABLE_RTTI "Remove runtime type information in the binaries" OFF) |
|
|
|
|
if (BUILD_SHARED_LIBS) |
|
|
|
|
set(protobuf_BUILD_SHARED_LIBS_DEFAULT ON) |
|
|
|
|
else (BUILD_SHARED_LIBS) |
|
|
|
|