|
|
@ -41,6 +41,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES Intel) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
# Options |
|
|
|
# Options |
|
|
|
|
|
|
|
option(protobuf_INSTALL "Install protobuf binaries and files" ON) |
|
|
|
if(WITH_PROTOC) |
|
|
|
if(WITH_PROTOC) |
|
|
|
set(protobuf_PROTOC_EXE ${WITH_PROTOC} CACHE FILEPATH "Protocol Buffer Compiler executable" FORCE) |
|
|
|
set(protobuf_PROTOC_EXE ${WITH_PROTOC} CACHE FILEPATH "Protocol Buffer Compiler executable" FORCE) |
|
|
|
endif() |
|
|
|
endif() |
|
|
@ -305,7 +306,9 @@ if (protobuf_BUILD_CONFORMANCE) |
|
|
|
include(conformance.cmake) |
|
|
|
include(conformance.cmake) |
|
|
|
endif (protobuf_BUILD_CONFORMANCE) |
|
|
|
endif (protobuf_BUILD_CONFORMANCE) |
|
|
|
|
|
|
|
|
|
|
|
include(install.cmake) |
|
|
|
if (protobuf_INSTALL) |
|
|
|
|
|
|
|
include(install.cmake) |
|
|
|
|
|
|
|
endif (protobuf_INSTALL) |
|
|
|
|
|
|
|
|
|
|
|
if (protobuf_BUILD_EXAMPLES) |
|
|
|
if (protobuf_BUILD_EXAMPLES) |
|
|
|
include(examples.cmake) |
|
|
|
include(examples.cmake) |
|
|
|