This CMake script checks if Git is installed and the current project is in a Git repository. If so, it updates any submodules by running the "git submodule update" command, checking for errors. It prints messages about the submodule update process and errors.
This CMake script checks if Git is installed and the current project is in a Git repository. If so, it updates any submodules by running the "git submodule update" command, checking for errors. It prints messages about the submodule update process and errors.
This CMake script checks if Git is installed and the current project is in a Git repository. If so, it updates any submodules by running the "git submodule update" command, checking for errors. It prints messages about the submodule update process and errors.
# message(FATAL_ERROR "The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. \ # Please update submodules and try again.") # endif()