Using NEW behavior for CMP0022 in CMake project

This commit is contained in:
Konstantin Podsvirov 2015-09-01 16:44:48 +03:00
parent d79e0379f2
commit 905f464035

View File

@ -4,6 +4,9 @@ cmake_minimum_required(VERSION 2.8)
# Project
project(protobuf C CXX)
# CMake policies
cmake_policy(SET CMP0022 NEW)
# Options
option(protobuf_VERBOSE "Enable for verbose output" OFF)
option(BUILD_TESTING "Build tests" ON)