cmake: support manual submodules

This commit is contained in:
selsta
2020-09-20 03:51:40 +02:00
parent d313c2de37
commit e1987522e2

View File

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