Skip to content
Snippets Groups Projects
Commit f1bd94e2 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

cmake add git submodule replace . in target name

parent 4f8f0d86
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ function(px4_add_git_submodule)
)
string(REPLACE "/" "_" NAME ${PATH})
string(REPLACE "." "_" NAME ${NAME})
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/git_init_${NAME}.stamp
COMMAND bash ${PX4_SOURCE_DIR}/Tools/check_submodules.sh ${PATH}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment