summaryrefslogtreecommitdiff
path: root/homebrew/ospray/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ospray/.make.sh-auto')
-rw-r--r--homebrew/ospray/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ospray/.make.sh-auto b/homebrew/ospray/.make.sh-auto
new file mode 100644
index 000000000..872c15913
--- /dev/null
+++ b/homebrew/ospray/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+args = std_cmake_args + %w[-DCMAKE_INSTALL_NAME_DIR=#{opt_lib} -DCMAKE_INSTALL_RPATH=#{opt_lib} -DOSPRAY_ENABLE_APPS=OFF -DOSPRAY_ENABLE_TESTING=OFF -DOSPRAY_ENABLE_TUTORIALS=OFF ]
+mkdir "build" && cd build
+cmake *args ..
+make
+make DESTDIR=${PKG_DEST} install