Skip to content

Commit

Permalink
morpheus: build with ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
jdieg0 committed Jan 17, 2024
1 parent 1b220d1 commit d1395aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Formula/morpheus-release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit d1395aa

Please sign in to comment.