diff options
author | 2018-05-24 15:47:22 +0200 | |
---|---|---|
committer | 2018-05-24 15:47:22 +0200 | |
commit | 6890731b2693f6b71dedaca6b2eaf8b488226836 (patch) | |
tree | 53cfd32520ec7016be9fa7ba878ed50dfc2efc4f /tensorflow/contrib/cmake | |
parent | 071e6175dcc130b4c623e849a380d6434289eb66 (diff) |
increase minimum cmake version required to 3.8
Diffstat (limited to 'tensorflow/contrib/cmake')
-rw-r--r-- | tensorflow/contrib/cmake/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tensorflow/contrib/cmake/CMakeLists.txt b/tensorflow/contrib/cmake/CMakeLists.txt index 0708d6b7b9..225c5e6227 100644 --- a/tensorflow/contrib/cmake/CMakeLists.txt +++ b/tensorflow/contrib/cmake/CMakeLists.txt @@ -1,5 +1,9 @@ # Minimum CMake required -cmake_minimum_required(VERSION 3.5) +if(WIN32) + cmake_minimum_required(VERSION 3.8) +else() + cmake_minimum_required(VERSION 3.5) +endif() # Project project(tensorflow C CXX) |