diff --git a/cpp/autograd/CMakeLists.txt b/cpp/autograd/CMakeLists.txt index ab89f45681..8289db38ee 100644 --- a/cpp/autograd/CMakeLists.txt +++ b/cpp/autograd/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) project(autograd) set(CMAKE_CXX_STANDARD 17) diff --git a/cpp/custom-dataset/CMakeLists.txt b/cpp/custom-dataset/CMakeLists.txt index fb5c2d6d86..fc9d11c8e2 100644 --- a/cpp/custom-dataset/CMakeLists.txt +++ b/cpp/custom-dataset/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.5) project(custom-dataset) set(CMAKE_CXX_STANDARD 17) diff --git a/cpp/dcgan/CMakeLists.txt b/cpp/dcgan/CMakeLists.txt index b874676b49..bc91efad76 100644 --- a/cpp/dcgan/CMakeLists.txt +++ b/cpp/dcgan/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5) project(dcgan) find_package(Torch REQUIRED) diff --git a/cpp/distributed/CMakeLists.txt b/cpp/distributed/CMakeLists.txt index 36d75afee0..7a152df8e5 100644 --- a/cpp/distributed/CMakeLists.txt +++ b/cpp/distributed/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5) project(dist-mnist) find_package(Torch REQUIRED) diff --git a/cpp/mnist/CMakeLists.txt b/cpp/mnist/CMakeLists.txt index e525b71bc4..7bdff0dee8 100644 --- a/cpp/mnist/CMakeLists.txt +++ b/cpp/mnist/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5) project(mnist) set(CMAKE_CXX_STANDARD 17) diff --git a/cpp/regression/CMakeLists.txt b/cpp/regression/CMakeLists.txt index feaf3bd4b3..172464092e 100644 --- a/cpp/regression/CMakeLists.txt +++ b/cpp/regression/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) project(regression) set(CMAKE_CXX_STANDARD 17) diff --git a/cpp/transfer-learning/CMakeLists.txt b/cpp/transfer-learning/CMakeLists.txt index 0bb2888878..272457f5ca 100644 --- a/cpp/transfer-learning/CMakeLists.txt +++ b/cpp/transfer-learning/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(example) find_package(Torch REQUIRED)