Fixing errors

This commit is contained in:
Johannes Lenzen
2021-02-09 10:42:58 +01:00
parent 316137d3ea
commit c81d69117f

View File

@@ -63,8 +63,11 @@ else
fi fi
echo "Copying all required libraries of OpenMesh to the systemlib directory" echo "Copying all required libraries of OpenMesh to the systemlib directory"
ls -laR Build if [ "$BUILD_TYPE" == "Release" ]; then
ldd Build/lib/libOpenMeshCore.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib
else
ldd Build/lib/libOpenMeshCored.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib ldd Build/lib/libOpenMeshCored.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib
fi fi
fi
cd .. cd ..