aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/open-scene-graph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/open-scene-graph.rb')
-rw-r--r--Library/Formula/open-scene-graph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/open-scene-graph.rb b/Library/Formula/open-scene-graph.rb
index a64931ae2..2186f2066 100644
--- a/Library/Formula/open-scene-graph.rb
+++ b/Library/Formula/open-scene-graph.rb
@@ -41,7 +41,7 @@ class OpenSceneGraph < Formula
ENV.cxx11 if build.cxx11?
# Turning off FFMPEG takes this change or a dozen "-DFFMPEG_" variables
- unless build.with? 'ffmpeg'
+ if build.without? 'ffmpeg'
inreplace 'CMakeLists.txt', 'FIND_PACKAGE(FFmpeg)', '#FIND_PACKAGE(FFmpeg)'
end