File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export GMP_INC_DIR="${GMP_ROOT}/include"
3535cmake . \
3636 -DCMAKE_INSTALL_PREFIX:PATH=" ${INSTALLROOT} " \
3737 -DCMAKE_INSTALL_LIBDIR:PATH=" lib" \
38- -DCMAKE_SKIP_RPATH:BOOL=YES \
3938 -DCMAKE_BUILD_TYPE=Release \
4039 -DWITH_BLAS:BOOL=OFF \
4140 -DWITH_CGAL_Core:BOOL=ON \
@@ -71,6 +70,10 @@ cmake . \
7170make VERBOSE=1 ${JOBS: +-j$JOBS }
7271make install VERBOSE=1
7372
73+ find $INSTALLROOT /lib/ -name " *.dylib" -exec install_name_tool -add_rpath @loader_path/../lib {} \;
74+ find $INSTALLROOT /lib/ -name " *.dylib" -exec install_name_tool -add_rpath ${INSTALLROOT} /lib {} \;
75+ find $INSTALLROOT /lib/ -name " *.dylib" -exec install_name_tool -id {} {} \;
76+
7477# Modulefile
7578MODULEDIR=" $INSTALLROOT /etc/modulefiles"
7679MODULEFILE=" $MODULEDIR /$PKGNAME "
You can’t perform that action at this time.
0 commit comments