diff --git a/Formula/pyside.rb b/Formula/pyside.rb index 7b6abf6c69..172f025b2c 100644 --- a/Formula/pyside.rb +++ b/Formula/pyside.rb @@ -9,7 +9,13 @@ class Pyside < Formula depends_on 'cmake' => :build depends_on :python => :recommended depends_on :python3 => :optional - depends_on 'shiboken' => 'with-python3' if build.with? 'python3' + + if build.with? 'python3' + depends_on 'shiboken' => 'with-python3' + else + depends_on 'shiboken' + end + depends_on 'qt' def install