From be8de676545acc0cd5302b69c1663229a1d55db3 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Sat, 20 Apr 2024 13:49:03 -0400 Subject: [PATCH] Fix cmake warnings --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53146a7..1817775 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) # use a toolchain file if any for Embedded if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake") @@ -42,6 +42,9 @@ set_policy(CMP0020 NEW) set_policy(CMP0017 NEW) set_policy(CMP0058 NEW) set_policy(CMP0026 OLD) +set_policy(CMP0071 NEW) +set_policy(CMP0072 NEW) +set_policy(CMP0148 OLD) include(utils) include(CompilerFlags)