julius: fix build with cmake4

This commit is contained in:
Matteo Pacini
2025-10-07 08:15:05 +01:00
parent 8a2b99e16a
commit 03cc24fc29
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b725e9a..f5ffa5f 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")

View File

@@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
}; };
patches = [ patches = [
# This fixes the build with cmake 4
./cmake4.patch
# This fixes the darwin bundle generation, sets min. deployment version # This fixes the darwin bundle generation, sets min. deployment version
# and patches SDL2_mixer include # and patches SDL2_mixer include
./darwin-fixes.patch ./darwin-fixes.patch