File: cmake4.patch

package info (click to toggle)
julius 1.8.0%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 16,276 kB
  • sloc: ansic: 104,165; objc: 87; xml: 84; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Bump minimum CMake version to 3.10
  This enables building with CMake 4.
Forwarded: https://github.com/bvschaik/julius/commit/82028b051
Author: Bianca van Schaik <bvschaik@gmail.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9dffd3f329..3ec14b1049 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.10)
 include(CMakeDependentOption)
 
 set(TARGET_PLATFORM "default" CACHE STRING "Platform to cross-compile for. Options: vita switch android ios emscripten. Leave blank for no cross compilation")