aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexander Putilin2015-03-24 23:19:38 +0300
committerXu Cheng2015-03-29 21:43:35 +0800
commitdc0811786b8ae83382e379e5a047d596f73d6b14 (patch)
tree56a45d1fa44eef28b941c34b648cdc248e7a8fca /Library
parent3b2bca78c48c5f926b59dd9dd79461a435574dbf (diff)
downloadhomebrew-dc0811786b8ae83382e379e5a047d596f73d6b14.tar.bz2
CSFML 2.2
Closes #38036. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/csfml.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/csfml.rb b/Library/Formula/csfml.rb
index 64bf239d5..5f55fe68f 100644
--- a/Library/Formula/csfml.rb
+++ b/Library/Formula/csfml.rb
@@ -2,8 +2,8 @@ require "formula"
class Csfml < Formula
homepage "http://www.sfml-dev.org/"
- url "http://www.sfml-dev.org/download/csfml/CSFML-2.0-sources.zip"
- sha1 "6d831634a558593580296209af278322523f1e43"
+ url "http://www.sfml-dev.org/download/csfml/CSFML-2.2-sources.zip"
+ sha1 "1dc3d2dadef6e6daa05b0dd868367ad5f02419e4"
bottle do
cellar :any
@@ -16,8 +16,7 @@ class Csfml < Formula
depends_on "sfml"
def install
- cp_r "#{Formula["sfml"].share}/SFML/cmake/Modules/", "cmake"
- system "cmake", ".", *std_cmake_args
+ system "cmake", ".", "-DCMAKE_MODULE_PATH=#{Formula["sfml"].share}/SFML/cmake/Modules/", *std_cmake_args
system "make", "install"
end