fix(ci): PACKAGE_VERSION is missing from nr-cuup executable

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2024-02-12 11:48:52 +01:00
parent 223c63826d
commit 4ca52ef456
+4
View File
@@ -155,6 +155,10 @@ int main(int argc, char **argv)
exit_fun("[SOFTMODEM] Error, configuration module init failed\n");
}
logInit();
#ifndef PACKAGE_VERSION
# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I(HW, "Version: %s\n", PACKAGE_VERSION);
set_softmodem_sighandler();
itti_init(TASK_MAX, tasks_info);
int rc;