Replies: 1 comment
-
You could try to force a clone with the GIT_SUBMODULE argument. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use
CPMAddPackage
to replicate the functionality ofgit clone --recursive --depth 1 --branch v1.11.2 https://github.com/STMicroelectronics/STM32CubeH7.git
?I attempted the following:
CPMAddPackage( NAME STM32CubeH7 GITHUB_REPOSITORY STMicroelectronics/STM32CubeH7 GIT_TAG v1.11.2 DOWNLOAD_ONLY TRUE )
However, this does not download the submodules. Is there a way to include them using
CPMAddPackage
?Beta Was this translation helpful? Give feedback.
All reactions