From 0edfe46fc0a4464ba02cfdc3ef2a1e2acc5d31c0 Mon Sep 17 00:00:00 2001 From: Ray molenkamp Date: Thu, 21 Nov 2024 02:23:08 +0100 Subject: [PATCH] CMake: Fix Deprecation Warning in audaspace CMake 3.31 has begun to emit the following warning: ``` CMake Deprecation Warning at extern/audaspace/CMakeLists.txt:17 Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. ``` The main blender CMakeLists has a `cmake_minimum_required(VERSION 3.10)` already so it's likely the one in audaspace isn't needed. given it is there however and i'm not entirely sure about the history why it is there i bumped it to `3.10` so it aligns with the main blender one. Pull Request: https://projects.blender.org/blender/blender/pulls/130566 --- extern/audaspace/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/audaspace/CMakeLists.txt b/extern/audaspace/CMakeLists.txt index d5f8ea237d8..98b02db250b 100644 --- a/extern/audaspace/CMakeLists.txt +++ b/extern/audaspace/CMakeLists.txt @@ -14,7 +14,7 @@ # limitations under the License. ################################################################################ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) include(CMakeDependentOption) if(POLICY CMP0054)