Skip to content

Commit

Permalink
Reverted version from 2.1.0 to 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed May 2, 2021
1 parent 567e8ca commit 7cb5d15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inference-engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down
4 changes: 2 additions & 2 deletions inference-engine/samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion inference-engine/src/inference_engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7cb5d15

Please sign in to comment.