Commit 733dae46 authored by Alexey Suhov's avatar Alexey Suhov

lower minimal cmake version to 3.5

parent fe3f978b
...@@ -6,7 +6,7 @@ if (APPLE) ...@@ -6,7 +6,7 @@ if (APPLE)
# due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html # due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
cmake_minimum_required(VERSION 3.9 FATAL_ERROR) cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
else() else()
cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR) cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
endif() endif()
project(InferenceEngine) project(InferenceEngine)
......
...@@ -118,7 +118,7 @@ else() ...@@ -118,7 +118,7 @@ else()
set(ENABLE_CPPLINT OFF) set(ENABLE_CPPLINT OFF)
endif() endif()
if (UNIX AND NOT APPLE AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.10) if (UNIX AND NOT APPLE)
ie_option(ENABLE_CPPCHECK "Enable cppcheck during the build" OFF) ie_option(ENABLE_CPPCHECK "Enable cppcheck during the build" OFF)
else() else()
set(ENABLE_CPPCHECK OFF) set(ENABLE_CPPCHECK OFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment