Skip to content

Commit 7342894

Browse files
committed
gecode: use specific Qt dependencies
1 parent 63665a2 commit 7342894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/g/gecode.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Gecode < Formula
2020
end
2121

2222
depends_on "pkgconf" => :test
23-
depends_on "qt"
23+
depends_on "qtbase"
2424

2525
# Backport support for Qt6 from release/6.3.0 branch
2626
patch do
@@ -33,7 +33,7 @@ def install
3333
#
3434
# [^1]: https://github.com/Gecode/gecode/commit/19b9ec3b938f52f5ef5feef15c6be417b5b27e36
3535
inreplace "configure", "if test ${ac_gecode_qt_major} -eq 5;", "if test ${ac_gecode_qt_major} -ge 5;"
36-
ENV["MOC"] = Formula["qt"].opt_pkgshare/"libexec/moc"
36+
ENV["MOC"] = Formula["qtbase"].opt_share/"qt/libexec/moc"
3737
ENV.append "CXXFLAGS", "-std=c++17"
3838

3939
args = %W[

0 commit comments

Comments
 (0)