cmake px4_add_git_submodule set USES_TERMINAL

- this allows interacting with the submodules check
This commit is contained in:
Daniel Agar
2018-09-02 16:12:42 -04:00
parent d6fd1c4811
commit 8fbeb6f717
+1
View File
@@ -81,6 +81,7 @@ function(px4_add_git_submodule)
DEPENDS ${PX4_SOURCE_DIR}/.gitmodules ${PATH}/.git
COMMENT "git submodule ${PATH}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
USES_TERMINAL
)
add_custom_target(${TARGET} DEPENDS git_init_${NAME}.stamp)