From 2ea7aa8c23512ec9f686bc07622eac9307869f95 Mon Sep 17 00:00:00 2001
From: Matthias Maier <tamiko@43-1.org>
Date: Thu, 23 Mar 2023 14:11:07 -0500
Subject: [PATCH] CMake: avoid a warning in the check_compiler_setup macro

We should call cmake_minimum_required() prior to project().
---
 cmake/macros/check_compiler_setup/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/macros/check_compiler_setup/CMakeLists.txt b/cmake/macros/check_compiler_setup/CMakeLists.txt
index d423055b01..3b9e5a2ea4 100644
--- a/cmake/macros/check_compiler_setup/CMakeLists.txt
+++ b/cmake/macros/check_compiler_setup/CMakeLists.txt
@@ -1,5 +1,5 @@
-project(CheckCompilerSetup)
 cmake_minimum_required(VERSION 3.13.4)
+project(CheckCompilerSetup)
 add_executable(CheckCompilerSetupExec dummy.cpp)
 
 # Make sure some CUDA warning flags don't get deduplicated
-- 
2.39.5