-
Notifications
You must be signed in to change notification settings - Fork 990
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
Fixing cmake_layout single config #12829
Fixing cmake_layout single config #12829
Conversation
@@ -49,17 +50,11 @@ def get_build_folder_custom_vars(conanfile): | |||
default=[], check_type=list) | |||
ret = [] | |||
for s in build_vars: | |||
group, var = s.split(".", 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if it doesn't have a dot, will it raise with a weird exception here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but that was already happening before, nothing new, and I didn't want to add extra noise and tests, as this PR is already quite potentially breaking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Changelog: Bugfix: Make
cmake_layout
to use single-config folder for generated files.Docs: conan-io/docs#2891
Close #12827