cmake: support manual submodules

This commit is contained in:
selsta 2020-09-20 03:51:40 +02:00
parent d313c2de37
commit e1987522e2
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -29,6 +29,7 @@ set(BUILD_GUI_DEPS ON)
set(ARCH "x86-64")
set(BUILD_64 ON)
if(NOT MANUAL_SUBMODULES)
find_package(Git)
if(GIT_FOUND)
if(NOT DEV_MODE)
@ -53,6 +54,7 @@ if(GIT_FOUND)
endif()
endif()
endif()
endif()
add_subdirectory(monero)