gh-548: Update use of cmake_minimum_required cmd

Only call the command on CMake files that may be the first file
evaluated from the project. Remove from all other files.

Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
Kent McLeod
2026-03-10 15:05:32 +11:00
committed by Kent McLeod
parent d40bad3a9a
commit bfb45ec550
22 changed files with 2 additions and 40 deletions

View File

@@ -4,8 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-only
#
cmake_minimum_required(VERSION 3.16.0)
# File for helpers that are very specific to the kernel
function(gen_invocation_header)