Reverted version from 2.1.0 to 2.1
This commit is contained in:
@@ -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
|
||||
|
||||
#
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user