From ab68ce891ea69c40b13c6d37637708edd5ab7400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz>
Date: Thu, 3 Jan 2019 17:22:16 +0100
Subject: [PATCH] Require cmake 3.12.2 due to CUDA 10 compatibility

---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a21c4333ed..7d0f8ca5a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,9 @@
 #
 ###############################################################################
 
-cmake_minimum_required( VERSION 3.5.1 )
+# cmake 3.12.2 is required due to compatibility with CUDA 10
+# (see the issue reported here: https://github.com/clab/dynet/issues/1457 )
+cmake_minimum_required( VERSION 3.12.2 )
 
 project( tnl )
 
-- 
GitLab