julius: fix build with cmake4 (#449389)
This commit is contained in:
10
pkgs/by-name/ju/julius/cmake4.patch
Normal file
10
pkgs/by-name/ju/julius/cmake4.patch
Normal 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")
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user