mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +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.
8 lines
380 B
CMake
8 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()
|