Libhailort in debug mode

Hello, libhailort is giving me the following warning when I run inferences:
[11:41:00.829, 2024-03-27] [2222332] [2222332] [HailoRT] [Caution] [:33 in device_internal.cpp] [Device Base] “Debug” mode is being used by libhailort. There could be an impact on overall performance!

Could you perhaps help me? I was unable to locate any information in the documentation regarding turning off the debug mode.

have you compiled HailoRT from sources? If so, make sure that you pass the Release flag when launching cmake.
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config release

you can further read about it in the user guide in this section:
https://hailo.ai/developer-zone/documentation/hailort-v4-16-0/?sp_referrer=install/install.html#ubuntu-installation

Alternatively, you can download the precompiled deb file from the dev-zone:
https://hailo.ai/?dl_dev=1&file=a52c444f0820950528676c83b6313fb0