aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2011-11-29 16:08:02 -0600
committerCharlie Sharpsteen2011-11-29 14:20:38 -0800
commit8a980d509bc1b9d3bce0be74a5036621540fd8d2 (patch)
treeb9080a900a9c5ada4f64b33fa1e4bfd359d91b92 /Library
parent7057ac846ce5b3b8ac6be38899b5dbad46d37f9a (diff)
downloadhomebrew-8a980d509bc1b9d3bce0be74a5036621540fd8d2.tar.bz2
Correct cmake syntax in formula template
Closes #8879. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/create.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 838d8eea3..3721d5986 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -104,9 +104,9 @@ class FormulaCreator
md5 '#{md5}'
<% if mode == :cmake %>
- depends_on 'cmake'
+ depends_on 'cmake' => :build
<% elsif mode == nil %>
- # depends_on 'cmake'
+ # depends_on 'cmake' => :build
<% end %>
def install