nheko/nheko-drop-submodules.patch
2018-02-02 14:35:59 +01:00

29 lines
840 B
Diff

From d1c519c9e22b3d48cc618242b46e729336a9597e Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Tue, 12 Dec 2017 15:24:19 +0100
Subject: [PATCH 1/3] Drop Git submodules from cmake manifest.
---
CMakeLists.txt | 5 -----
1 file changed, 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 876409b..ecf9645 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,11 +45,6 @@ else()
find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARY)
endif()
-if (NOT EXISTS "${CMAKE_SOURCE_DIR}/libs/lmdbxx/.git" )
- message(WARNING "The git submodules are not available.")
- message(STATUS "Running git submodule update --init --recursive ...")
- execute_process(COMMAND git submodule update --init --recursive)
-endif()
#
# Discover Qt dependencies.
--
2.14.3