Skip to content

cmake: fix handling of wrappers dependencies#19059

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fixup_19000
Dec 9, 2020
Merged

cmake: fix handling of wrappers dependencies#19059
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fixup_19000

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 8, 2020

relates #19000

OPENCV_MODULE_opencv_${wrapper}_bindings_generator_CLASS may be not available during ongoing first pass modules scan.
Wrappers handling is moved to pre-processing part of __ocv_resolve_dependencies().

force_builders=linux,docs,Custom,Custom Mac
build_image:Docs=docs-js
build_image:Custom=javascript
buildworker:Custom=linux-4
build_image:Custom Mac=osx_framework
buildworker:Custom Mac=macosx-2

@alalek alalek mentioned this pull request Dec 8, 2020
6 tasks
endif()

# add reverse wrapper dependencies (BINDINDS)
foreach(the_module ${OPENCV_MODULES_BUILD})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that OPENCV_MODULES_BUILD would change in the next block (lines 508-524) due to missing dependencies?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These dependencies are specified as "OPTIONAL", so this case should be handled.

@opencv-pushbot opencv-pushbot merged commit 37bfb3c into opencv:3.4 Dec 9, 2020
@alalek alalek mentioned this pull request Dec 9, 2020
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants