Skip to content

Commit aa8fd2c

Browse files
authored
Merge pull request #217419 from Homebrew/cmrc-cmake
cmrc: bump `cmake_minimum_required`
2 parents 92d67ae + b76a523 commit aa8fd2c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Formula/c/cmrc.rb

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
class Cmrc < Formula
22
desc "CMake Resource Compiler"
33
homepage "https://github.com/vector-of-bool/cmrc"
4-
url "https://github.com/vector-of-bool/cmrc/archive/refs/tags/2.0.1.tar.gz"
5-
sha256 "edad5faaa0bea1df124b5e8cb00bf0adbd2faeccecd3b5c146796cbcb8b5b71b"
64
license "MIT"
75
head "https://github.com/vector-of-bool/cmrc.git", branch: "master"
86

7+
stable do
8+
url "https://github.com/vector-of-bool/cmrc/archive/refs/tags/2.0.1.tar.gz"
9+
sha256 "edad5faaa0bea1df124b5e8cb00bf0adbd2faeccecd3b5c146796cbcb8b5b71b"
10+
11+
# cmake 4.0 build patch, upstream pr ref, https://github.com/vector-of-bool/cmrc/pull/48
12+
patch do
13+
url "https://github.com/vector-of-bool/cmrc/commit/91c9522ee59654e2f4d9701947a4600a4436d076.patch?full_index=1"
14+
sha256 "feea3f04cdf49295497f3c48dd3ad5938716e47a9b29aacc98dc6580493d74ff"
15+
end
16+
end
17+
918
bottle do
1019
rebuild 1
1120
sha256 cellar: :any_skip_relocation, all: "33e1b8facfc9147d12e16f1ea45cb08c26f6e4d9ee5100b298f76a0f01a475ae"
@@ -28,7 +37,7 @@ def install
2837

2938
cmakelists.unlink
3039
cmakelists.write <<~CMAKE
31-
cmake_minimum_required(VERSION 3.30)
40+
cmake_minimum_required(VERSION 4.0)
3241
find_package(CMakeRC CONFIG REQUIRED)
3342
CMAKE
3443

0 commit comments

Comments
 (0)