Commit 1c954558 authored by Clément Péron's avatar Clément Péron

cmake: fix warning about policy CMP0145

Keep the DART compatibility enabled until test are moved
to CTest.
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
parent 05f9112a
......@@ -8,6 +8,10 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
cmake_policy(SET CMP0074 NEW)
cmake_policy(SET CMP0091 NEW)
cmake_policy(SET CMP0112 NEW)
# TODO: Convert DART to CTEST
if(POLICY CMP0145)
cmake_policy(SET CMP0145 OLD)
endif()
PROJECT(protobuf-c 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