MLECO-1880: Make model zoo commit hash configurable for each model

Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Change-Id: Ic7bcb0cbf334049ff89e9973e58fd0b3bf463892
diff --git a/scripts/cmake/util_functions.cmake b/scripts/cmake/util_functions.cmake
index 6d76131..e39de2f 100644
--- a/scripts/cmake/util_functions.cmake
+++ b/scripts/cmake/util_functions.cmake
@@ -118,15 +118,15 @@
 
 # Function to download a files from the Arm Model Zoo
 # Arguments:
+#   model_zoo_version: hash of the Arm Model Zoo commit to use
 #   file_sub_path: subpath within the model zoo respository
 #   download_path: location where this file is to be downloaded (path including filename)
-function(download_file_from_modelzoo file_sub_path download_path)
+function(download_file_from_modelzoo model_zoo_version file_sub_path download_path)
 
     set(MODEL_ZOO_REPO      "https://github.com/ARM-software/ML-zoo/raw")
-    set(MODEL_ZOO_VERSION   "68b5fbc77ed28e67b2efc915997ea4477c1d9d5b")
 
     string(JOIN "/" FILE_URL
-        ${MODEL_ZOO_REPO} ${MODEL_ZOO_VERSION} ${file_sub_path})
+        ${MODEL_ZOO_REPO} ${model_zoo_version} ${file_sub_path})
 
     message(STATUS "Downloading ${FILE_URL} to ${download_path}...")