diff --git a/CMakeLists.txt b/CMakeLists.txt index 72b38a2..6f33ed7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,4 +52,5 @@ install(CODE "execute_process(COMMAND \"${CMAKE_SOURCE_DIR}/build-zip.sh\" \"${CMAKE_SOURCE_DIR}\" \"${CMAKE_BINARY_DIR}/Odourless.app\" \"${ODOURLESS_VERSION}\" - \"${CMAKE_BINARY_DIR}/dist\")") \ No newline at end of file + \"${CMAKE_BINARY_DIR}/dist\" + \"${CMAKE_OSX_ARCHITECTURES}\")") \ No newline at end of file diff --git a/build-zip.sh b/build-zip.sh index 511ab1d..899f082 100755 --- a/build-zip.sh +++ b/build-zip.sh @@ -4,7 +4,7 @@ PROJECT_ROOT="$1" SRC_APP="$2" VERSION="$3" DIST="$4" -ARCH=$(uname -m) +ARCH="$5" echo "Clear dist" rm -rf "${DIST}"