Bump cmake version to 3.13 (#2258)
authorEvgeny Talanin <evgeny.talanin@intel.com>
Fri, 18 Sep 2020 15:58:12 +0000 (18:58 +0300)
committerGitHub <noreply@github.com>
Fri, 18 Sep 2020 15:58:12 +0000 (18:58 +0300)
CMakeLists.txt
docs/template_plugin/CMakeLists.txt
inference-engine/cmake/models.cmake
inference-engine/ie_bridges/python/CMakeLists.txt
inference-engine/samples/CMakeLists.txt
ngraph/CMakeLists.txt
ngraph/python/CMakeLists.txt
openvino/CMakeLists.txt
tests/fuzz/CMakeLists.txt
tests/stress_tests/CMakeLists.txt
tests/time_tests/CMakeLists.txt

index 86f8213..30d0749 100644 (file)
@@ -8,17 +8,7 @@ cmake_policy(SET CMP0054 NEW)
 # it allows to install targets created outside of current projects
 # See https://blog.kitware.com/cmake-3-13-0-available-for-download/
 
-if (APPLE)
-    if(CMAKE_GENERATOR STREQUAL "Xcode")
-        # due to https://gitlab.kitware.com/cmake/cmake/issues/14254
-        cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
-    else()
-        # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
-        cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-    endif()
-else()
-    cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
-endif()
+cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
 
 project(OpenVINO)
 
index 182c6d1..088525d 100644 (file)
@@ -3,12 +3,7 @@
 #
 
 # [cmake:main]
-if (APPLE)
-    # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
-    cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-else()
-    cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
-endif()
+cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
 
 project(InferenceEngineTemplatePlugin)
 
index 0f55d6a..69dc569 100644 (file)
@@ -2,12 +2,6 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
-if(ENABLE_DOCKER)
-    cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
-else()
-    cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
-endif()
-
 cmake_policy(SET CMP0054 NEW)
 
 find_package(Git REQUIRED)
index 7625c51..a731f8d 100644 (file)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: Apache-2.0
 
 # Defines the CMake commands/policies
-cmake_minimum_required (VERSION 3.3)
+cmake_minimum_required (VERSION 3.13)
 
 # Set the project name
 project (ie_python_api)
index acbb9ba..545b9ca 100644 (file)
@@ -2,7 +2,7 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.13)
 
 project(Samples)
 
index f4ebb86..4eb969f 100644 (file)
@@ -14,8 +14,6 @@
 # limitations under the License.
 # ******************************************************************************
 
-cmake_minimum_required (VERSION 3.11)
-
 # set directory where the custom finders live
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
 
index bb343b9..3b3f7c1 100644 (file)
@@ -14,7 +14,7 @@
 # limitations under the License.
 # ******************************************************************************
 
-cmake_minimum_required (VERSION 3.1)
+cmake_minimum_required (VERSION 3.13)
 
 project (pyngraph)
 
index cf32e58..c0431de 100644 (file)
@@ -14,8 +14,6 @@
 # limitations under the License.
 # ******************************************************************************
 
-cmake_minimum_required(VERSION 3.10)
-
 add_subdirectory(itt)
 
 openvino_developer_export_targets(openvino::itt)
index 8ddccb0..f5946e2 100644 (file)
@@ -2,16 +2,7 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
-if(ENABLE_DOCKER)
-    cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
-else()
-    if (APPLE)
-        # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
-        cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-    else()
-        cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
-    endif()
-endif()
+cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
 
 set(OpenVINO_MAIN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
 set(CMAKE_MODULE_PATH "${OpenVINO_MAIN_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
index 350abba..721ee87 100644 (file)
@@ -2,16 +2,7 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
-if(ENABLE_DOCKER)
-    cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
-else()
-    if (APPLE)
-        # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
-        cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-    else()
-        cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
-    endif()
-endif()
+cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
 
 if (CMAKE_BUILD_TYPE STREQUAL "")
     message(STATUS "CMAKE_BUILD_TYPE not defined, 'Release' will be used")
index e932181..f4b4c67 100644 (file)
@@ -2,16 +2,7 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
-if(ENABLE_DOCKER)
-    cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
-else()
-    if (APPLE)
-        # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
-        cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
-    else()
-        cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
-    endif()
-endif()
+cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
 
 if (CMAKE_BUILD_TYPE STREQUAL "")
     message(STATUS "CMAKE_BUILD_TYPE not defined, 'Release' will be used")