You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
495 B

#!/bin/bash
INCLUDE_INSTALL_DIR="$1"/include
LIBRARY_INSTALL_DIR="$1"/lib
mkdir -p $INCLUDE_INSTALL_DIR
mkdir -p $LIBRARY_INSTALL_DIR
cp -av include/embree3 $INCLUDE_INSTALL_DIR
cp -av lib/lib* $LIBRARY_INSTALL_DIR
rm $LIBRARY_INSTALL_DIR/libtbb.so
rm $LIBRARY_INSTALL_DIR/libtbb.so.12
cp $LIBRARY_INSTALL_DIR/libtbb.so.12.1 $LIBRARY_INSTALL_DIR/libtbb.so.12
sudo cp $LIBRARY_INSTALL_DIR/libembree3.so.3 /usr/local/lib
sudo cp $LIBRARY_INSTALL_DIR/libembree3.so /usr/local/lib
exit 0;