Reverted version from 2.1.0 to 2.1

This commit is contained in:
Ilya Lavrenov
2021-05-02 16:39:52 +03:00
parent 567e8ca9ef
commit 7cb5d1563c
3 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ configure_file(
include(CMakePackageConfigHelpers)
write_basic_package_version_file("${CMAKE_BINARY_DIR}/InferenceEngineDeveloperPackageConfig-version.cmake"
VERSION "2.1.0" # TODO
VERSION "2.1" # TODO
COMPATIBILITY SameMajorVersion) # TODO
#

View File

@@ -135,12 +135,12 @@ endif()
if(IE_NOT_FOUND_MESSAGE)
# the flag is used to throw a custom message in case if the IE package is not found.
find_package(InferenceEngine 2.1.0 QUIET)
find_package(InferenceEngine 2.1 QUIET)
if (NOT(InferenceEngine_FOUND))
message(FATAL_ERROR ${IE_NOT_FOUND_MESSAGE})
endif()
else()
find_package(InferenceEngine 2.1.0 REQUIRED)
find_package(InferenceEngine 2.1 REQUIRED)
endif()
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/common/utils")

View File

@@ -296,7 +296,7 @@ configure_package_config_file("${InferenceEngine_SOURCE_DIR}/cmake/templates/Inf
PATH_VARS ${PATH_VARS})
write_basic_package_version_file("${CMAKE_BINARY_DIR}/InferenceEngineConfig-version.cmake"
VERSION "2.1.0" # TODO
VERSION "2.1" # TODO
COMPATIBILITY SameMajorVersion) # TODO
install(FILES "${CMAKE_BINARY_DIR}/share/InferenceEngineConfig.cmake"