From 7787686f03c4516e5934b35efdc39b64127b7b6f Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Thu, 23 May 2024 09:23:37 +0200 Subject: [PATCH] lib UPDATE explicit bash script execution Required when cross-compiling on host platform without native shell support. --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 2a3573db..94c9f909 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -112,7 +112,7 @@ add_custom_command(OUTPUT np2_sr_yang.h NP2_MODULE_DIR=${PROJECT_SOURCE_DIR}/../modules LN2_MODULE_DIR=${LN2_YANG_MODULE_DIR} NP2_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/generate.sh + bash ${PROJECT_SOURCE_DIR}/generate.sh COMMENT "Generating YANG header files (generate.sh)..." )