Adding check to shared library

This commit is contained in:
bernat 2020-04-09 15:08:36 +02:00
parent 53e6d48ce9
commit 8e7d839f07
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ cmake -G "Ninja" \
..
# copy the shared object 'libfbxsdk.so' to 'dist' folder
cp "${FBX2OBJ_DEP_FOLDER}/lib/gcc/x64/release/libfbxsdk.so" "${FBX2OBJ_DIST}"
if [ ! -f "${FBX2OBJ_DIST}/libfbxsdk.so" ]; then
cp "${FBX2OBJ_DEP_FOLDER}/lib/gcc/x64/release/libfbxsdk.so" "${FBX2OBJ_DIST}"
fi
set +e