Commit 1ec9beb4 authored by Corentin Le Molgat's avatar Corentin Le Molgat

Use NEW behaviour for project VERSION variables.

cf https://cmake.org/cmake/help/latest/policy/CMP0048.html#policy:CMP0048
parent 8dd0f4e5
......@@ -8,6 +8,10 @@ endif()
# CMake policies
cmake_policy(SET CMP0022 NEW)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()
# Project
project(protobuf C CXX)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment