From d1395aa37952f8bae2099a412deeb1b1a136e4b1 Mon Sep 17 00:00:00 2001 From: Diego Jahn Date: Wed, 17 Jan 2024 17:28:17 +0100 Subject: [PATCH] morpheus: build with ninja --- Formula/morpheus-release.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/morpheus-release.rb b/Formula/morpheus-release.rb index 42e3ad5..56f2887 100644 --- a/Formula/morpheus-release.rb +++ b/Formula/morpheus-release.rb @@ -7,6 +7,7 @@ class MorpheusRelease < Formula depends_on "boost" => :build depends_on "cmake" => :build depends_on "doxygen" => :build + depends_on "ninja" => :build depends_on "gnuplot" depends_on "graphviz" depends_on "libomp" @@ -20,10 +21,11 @@ class MorpheusRelease < Formula def install args = std_cmake_args + args << "-G Ninja" args << "-DMORPHEUS_RELEASE_BUNDLE=ON" if OS.mac? - system "cmake", ".", *args - system "make", "install" + system "cmake", *args, "." + system "ninja", "install" if OS.mac? bin.write_exec_script "#{prefix}/Morpheus.app/Contents/MacOS/morpheus"