mirror of https://github.com/thesofproject/sof.git
cmake: do not download submodules when BUILD_UNIT_TESTS
Faster CI. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
ed5d2feaf6
commit
fd1f631352
|
@ -32,7 +32,7 @@ if(GIT_FOUND AND EXISTS "${SOF_ROOT_SOURCE_DIRECTORY}/.git")
|
|||
"There are submodule changes, check git status and git diff\n${stdout}")
|
||||
endif()
|
||||
|
||||
else()
|
||||
elseif(NOT BUILD_UNIT_TESTS)
|
||||
# Automated initialization for convenience. You can defeat it by
|
||||
# manually initializing rimage and _not_ some other
|
||||
# submodule. In that case you get the warning above.
|
||||
|
|
Loading…
Reference in New Issue