Skip to content

Commit

Permalink
lib UPDATE explicit bash script execution
Browse files Browse the repository at this point in the history
Required when cross-compiling on host platform
without native shell support.
  • Loading branch information
michalvasko committed May 23, 2024
1 parent a803499 commit 7787686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)..."
)

Expand Down

0 comments on commit 7787686

Please sign in to comment.