Fix cmake warnings

This commit is contained in:
Andrew Rabert 2024-04-20 13:49:03 -04:00
parent 1f2aeae2df
commit be8de67654

View File

@ -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 # use a toolchain file if any for Embedded
if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake") if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake")
@ -42,6 +42,9 @@ set_policy(CMP0020 NEW)
set_policy(CMP0017 NEW) set_policy(CMP0017 NEW)
set_policy(CMP0058 NEW) set_policy(CMP0058 NEW)
set_policy(CMP0026 OLD) set_policy(CMP0026 OLD)
set_policy(CMP0071 NEW)
set_policy(CMP0072 NEW)
set_policy(CMP0148 OLD)
include(utils) include(utils)
include(CompilerFlags) include(CompilerFlags)