Skip to content

Commit

Permalink
csfml: revision bump (sfml 3.0.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 24, 2024
1 parent 176eb7e commit 644d78a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/c/csfml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Csfml < Formula
url "https://github.com/SFML/CSFML/archive/refs/tags/2.6.1.tar.gz"
sha256 "f3f3980f6b5cad85b40e3130c10a2ffaaa9e36de5f756afd4aacaed98a7a9b7b"
license "Zlib"
revision 1
head "https://github.com/SFML/CSFML.git", branch: "master"

bottle do
Expand All @@ -19,11 +20,11 @@ class Csfml < Formula
end

depends_on "cmake" => :build
depends_on "sfml"
depends_on "sfml@2" # milestone to support sfml 3.0

def install
args = %W[
-DCMAKE_MODULE_PATH=#{Formula["sfml"].share}/SFML/cmake/Modules/
-DCMAKE_MODULE_PATH=#{Formula["sfml@2"].share}/SFML/cmake/Modules/
]

system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
Expand Down

0 comments on commit 644d78a

Please sign in to comment.