Skip to content

Commit

Permalink
Fixed condition for versioning (openvinotoolkit#5719)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored and yekruglov committed Jun 7, 2021
1 parent 3fe8d11 commit b1615e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/developer_package/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ macro(ie_parse_ci_build_number)
message(FATAL_ERROR "repo_root is not defined")
endif()

if(DEFINED InferenceEngineDeveloperPackage_DIR)
if(DEFINED IEDevScripts_DIR AND DEFINED IE_MAIN_SOURCE_DIR AND NOT DEFINED custom_build)
set(ie_version_hpp "${IE_MAIN_SOURCE_DIR}/include/ie_version.hpp")
if(NOT EXISTS ${ie_version_hpp})
message(FATAL_ERROR "File ie_version.hpp with IE_VERSION definitions is not found")
Expand Down

0 comments on commit b1615e1

Please sign in to comment.