-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 issue #12040: Can't find SQLite3 using CMake with cmake_paths generator #12041
Conversation
…e_paths generator
This comment has been minimized.
This comment has been minimized.
2ba9957
to
0c6f8e3
Compare
GitHub is super linking with linking issues, may you please update it to match https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword You have an extra |
@tuduongquyet please, consider prince's comment about your next PRs. The title should not contain the related issue, instead, add the package name + description, like:
On the description body, you can add the keyword Besides that, your PR description is excellent, well detailed. Thank you for your contribution! |
BTW, consider avoiding |
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.
I'm surprised that this change fixes the issue... the content of that cpp_info.buildirs
object should be the same before and now.
But if it fixes the issue... it is very welcome (although cmake_paths
will be deprecated, as uilian said).
Anyway, looks like there are some issues to fix before reviewing and merging the PR
This comment has been minimized.
This comment has been minimized.
@@ -223,4 +223,4 @@ def package_info(self): | |||
self.cpp_info.components["sqlite"].set_property("cmake_target_name", "SQLite::SQLite3") | |||
self.cpp_info.components["sqlite"].set_property("pkg_config_name", "sqlite3") | |||
|
|||
self.cpp_info.components["sqlite"].builddirs = [os.path.join("lib", "cmake")] | |||
self.cpp_info.components["sqlite"].builddirs.append(os.path.join("lib", "cmake")) |
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.
self.cpp_info.components["sqlite"].builddirs.append(os.path.join("lib", "cmake")) |
can be removed actually (this folder lib/cmake
contains a module file which is an internal detail for cmake_find_package generated file)
@toge it's a regression coming from #11383, I guess you've seen a hook warning, but this hook is wrong.
It's not the same content before and now, since |
All green in build 5 (
|
I detected other pull requests that are modifying sqlite3/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
Can be closed. Fixed by #12078 and/or conan-io/conan#11883 |
cmake_paths
generator #12040fixes #12040