diff --git a/CMakeLists.txt b/CMakeLists.txt index a21c4333ed9b0cde0b0e13349a3651373654c964..7d0f8ca5a8aa6188293edd33d8b5c72b3e0fc0c3 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 )