[all] cmake: tell users to clone submodules when they haven't

This gives users a command to run that will automagically fix the submodule
situation, and should reduce the amount of support requests.
This commit is contained in:
Quantum
2021-08-18 18:02:33 -04:00
committed by Geoffrey McRae
parent 1021c9ce92
commit 5a906131eb
4 changed files with 11 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG" CACHE STRING "compiler flag
get_filename_component(PROJECT_TOP "${PROJECT_SOURCE_DIR}/.." ABSOLUTE)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_TOP}/cmake/" "${PROJECT_SOURCE_DIR}/cmake/")
include(CheckSubmodule)
include(GNUInstallDirs)
include(CheckCCompilerFlag)
include(FeatureSummary)