From 71556295ffe315be34ce70e1a6821860fb088f07 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Wed, 1 Jun 2016 17:00:08 +0300 Subject: CMake project updates A series of improvements: - Improved Protobuf module compatibility (disabled by default); - Hide advanced settings; - Added build tree configuration; - Added build of examples. --- cmake/protobuf-options.cmake | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cmake/protobuf-options.cmake (limited to 'cmake/protobuf-options.cmake') diff --git a/cmake/protobuf-options.cmake b/cmake/protobuf-options.cmake new file mode 100644 index 00000000..99c85ebe --- /dev/null +++ b/cmake/protobuf-options.cmake @@ -0,0 +1,7 @@ +# Verbose output +option(protobuf_VERBOSE "Enable for verbose output" OFF) +mark_as_advanced(protobuf_VERBOSE) + +# FindProtobuf module compatibel +option(protobuf_MODULE_COMPATIBLE "CMake build-in FindProtobuf.cmake module compatible" OFF) +mark_as_advanced(protobuf_MODULE_COMPATIBLE) -- cgit v1.2.3