Using NEW behavior for CMP0022 in CMake project
This commit is contained in:
parent
d79e0379f2
commit
905f464035
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue