From e73cdc84ab86c0ae821ef398c2a52225f279d87d Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Wed, 13 Jul 2016 11:31:01 +0200
Subject: [PATCH] Do not initialize submodules from CMake

because any non-committed changes get lost upon reconfiguration.
---
 CMakeLists.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8de4ecc9..54d56ae9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,10 +22,6 @@ dune_enable_all_packages()
 add_subdirectory(dune/perftool)
 add_subdirectory(cmake/modules)
 
-# Make sure that git submodules are correctly initialized
-execute_process(COMMAND git submodule update --init --recursive
-                WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-
 # Add the python subdirectory to systematically install
 # the python dependencies there.
 add_subdirectory(python)
-- 
GitLab