Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't override CMAKE_CXX_STANDARD set by parent projects #40

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

ilya-lavrenov
Copy link
Contributor

When ADE used as a submodule, it overrides CMAKE_CXX_STANDARD set by parent project. E.g. parent projects defines CMAKE_CXX_STANDARD as 14 and during first cmake run it's applied, but during second cmake run ADE's value is used from cache. No needs to keep CMAKE_CXX_STANDARD in cache, because it may vary from project to project.

@dmatveev
Copy link
Collaborator

Fixing build in #41

@dmatveev
Copy link
Collaborator

Messed up with ctest, #42 is the fix

@dmatveev
Copy link
Collaborator

It seems the current Actions setup doesn't put patch atop of the master but tests the original branch itself, @ilya-lavrenov can you please pull the latest master in?

@dmatveev dmatveev merged commit 0e8a2cc into opencv:master Oct 10, 2023
15 checks passed
When ADE used as a submodule, it overrides CMAKE_CXX_STANDARD set by parent project. E.g. parent projects defines CMAKE_CXX_STANDARD as 14 and during first cmake run it's applied, but during second cmake run ADE's value is used from cache.
No needs to keep CMAKE_CXX_STANDARD in cache, because it may vary from project to project.
@ilya-lavrenov ilya-lavrenov deleted the patch-1 branch October 10, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants