[cmake] CheckSubmodule: check for nanosvg

This commit is contained in:
Quantum 2022-10-27 01:29:21 -04:00 committed by Geoffrey McRae
parent ba64a2d400
commit d857b2a36e

View File

@ -3,7 +3,8 @@ if (EXISTS "${PROJECT_TOP}/.git" AND (
(NOT EXISTS "${PROJECT_TOP}/repos/LGMP/.git") OR
(NOT EXISTS "${PROJECT_TOP}/repos/PureSpice/.git") OR
(NOT EXISTS "${PROJECT_TOP}/repos/cimgui/imgui/.git") OR
(NOT EXISTS "${PROJECT_TOP}/repos/wayland-protocols/.git")
(NOT EXISTS "${PROJECT_TOP}/repos/wayland-protocols/.git") OR
(NOT EXISTS "${PROJECT_TOP}/repos/nanosvg/.git")
))
message(FATAL_ERROR "Submodules are not initialized. Run\n\tgit submodule update --init --recursive")
endif()