mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
5a906131eb
This gives users a command to run that will automagically fix the submodule situation, and should reduce the amount of support requests.
9 lines
380 B
CMake
9 lines
380 B
CMake
if (EXISTS "${PROJECT_TOP}/.git" AND (
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/cimgui/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/LGMP/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/PureSpice/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/cimgui/imgui/.git")
|
|
))
|
|
message(FATAL_ERROR "Submodules are not initialized. Run\n\tgit submodule update --init --recursive")
|
|
endif()
|