mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Hotfix for CMake 4.0.0 (#18881)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
9
patches/libarchive/CMakeLists.txt.patch
Normal file
9
patches/libarchive/CMakeLists.txt.patch
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
--- CMakeLists.txt
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
#
|
||||||
|
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
|
||||||
|
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.5 FATAL_ERROR)
|
||||||
|
if(POLICY CMP0065)
|
||||||
|
cmake_policy(SET CMP0065 NEW) #3.4 don't use `-rdynamic` with executables
|
||||||
|
endif()
|
||||||
11
patches/lshpack/CMakeLists.txt.patch
Normal file
11
patches/lshpack/CMakeLists.txt.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- CMakeLists.txt
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
# XXH_INCLUDE_DIR
|
||||||
|
# LSHPACK_XXH
|
||||||
|
|
||||||
|
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
||||||
|
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.5)
|
||||||
|
PROJECT(ls-hpack C)
|
||||||
|
|
||||||
|
include(CheckIncludeFiles)
|
||||||
8
patches/zlib/CMakeLists.txt.patch
Normal file
8
patches/zlib/CMakeLists.txt.patch
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
--- CMakeLists.txt
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
+cmake_minimum_required(VERSION 2.8.12...3.5)
|
||||||
|
|
||||||
|
project(zlib C)
|
||||||
|
|
||||||
11
patches/zlib/ucm.cmake.patch
Normal file
11
patches/zlib/ucm.cmake.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- ucm.cmake
|
||||||
|
+++ ucm.cmake
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
# The documentation can be found at the library's page:
|
||||||
|
# https://github.com/onqtam/ucm
|
||||||
|
|
||||||
|
-cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
+cmake_minimum_required(VERSION 2.8.12...3.5)
|
||||||
|
|
||||||
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
Reference in New Issue
Block a user