doxygen: use Qt5 (#2861)
Qt 5 works well and unlike Qt 4, properly supports new macOS versions.
This commit is contained in:
parent
9b683418b9
commit
03040ab775
1 changed files with 4 additions and 3 deletions
|
@ -14,19 +14,20 @@ class Doxygen < Formula
|
|||
end
|
||||
|
||||
option "with-graphviz", "Build with dot command support from Graphviz."
|
||||
option "with-doxywizard", "Build GUI frontend with qt support."
|
||||
option "with-qt5", "Build GUI frontend with Qt support."
|
||||
option "with-libclang", "Build with libclang support."
|
||||
|
||||
deprecated_option "with-dot" => "with-graphviz"
|
||||
deprecated_option "with-doxywizard" => "with-qt5"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "graphviz" => :optional
|
||||
depends_on "qt" if build.with? "doxywizard"
|
||||
depends_on "qt5" => :optional
|
||||
depends_on "llvm" => "with-clang" if build.with? "libclang"
|
||||
|
||||
def install
|
||||
args = std_cmake_args
|
||||
args << "-Dbuild_wizard=ON" if build.with? "doxywizard"
|
||||
args << "-Dbuild_wizard=ON" if build.with? "qt5"
|
||||
args << "-Duse_libclang=ON -DLLVM_CONFIG=#{Formula["llvm"].opt_bin}/llvm-config" if build.with? "libclang"
|
||||
|
||||
mkdir "build" do
|
||||
|
|
Loading…
Reference in a new issue