Skip to content

Commit

Permalink
Don't include developer package multiple times (#28305)
Browse files Browse the repository at this point in the history
### Details:
- In case of GenAI we include developer packages two times: GenAI and
Tokenizers
  • Loading branch information
ilya-lavrenov authored Jan 8, 2025
1 parent 45b719b commit 17bbb00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/templates/OpenVINODeveloperPackageConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# SPDX-License-Identifier: Apache-2.0
#

if(OpenVINODeveloperPackage_FOUND)
return()
endif()

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# SPDX-License-Identifier: Apache-2.0
#

if(OpenVINODeveloperPackage_FOUND)
return()
endif()

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
Expand Down

0 comments on commit 17bbb00

Please sign in to comment.