Use ARMNN_VERSION for Support Library versionString
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I6f2b52f7277215c97be3d53969a9eaef137e3636
diff --git a/shim/sl/canonical/ArmnnDriver.hpp b/shim/sl/canonical/ArmnnDriver.hpp
index c33c61a..484a531 100644
--- a/shim/sl/canonical/ArmnnDriver.hpp
+++ b/shim/sl/canonical/ArmnnDriver.hpp
@@ -21,6 +21,7 @@
#include "ArmnnDriverImpl.hpp"
#include "ModelToINetworkTransformer.hpp"
+#include <armnn/Version.hpp>
#include <log/log.h>
namespace armnn_driver
{
@@ -53,7 +54,7 @@
const std::string& getVersionString() const override
{
VLOG(DRIVER) << "ArmnnDriver::getVersionString()";
- static const std::string versionString = "ArmNN";
+ static const std::string versionString = ARMNN_VERSION;
return versionString;
}