-
Notifications
You must be signed in to change notification settings - Fork 208
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
Support Conan 2.0 #4818
Comments
Just curious, is it possible? Since the cmake-conan hasn't supported conan 2.0 yet: https://github.com/conan-io/cmake-conan I am new to the project and Cmake ecosystem, maybe I am wrong. |
Hi @wnykuang! Using 2.0 should be possible but it's broken as of now, so you should install the latest 1.X series which I believe is 1.59 https://pypi.org/project/conan/1.59.0/ |
Hi! Glad to hear from you! Yeah, I built the project with 1.48since the script(I believe it's CMake-Conan or something) indicate. (They indicate: Compatibility with Conan 2.0: cmake-conan is not compatible with Conan 2.0 for the moment. Once Conan 2.0 is GA the compatibility between both will be analyzed again. Also, please note that CMakeToolchain is not compatible with cmake-conan. If you need to use it, we would recommend not using cmake-conan but doing a conan install directly. (I spent a while to try to build it with Conan 2.0 and figured out there is version issue) |
This is a very good point. |
FYI there's a develop2 branch with experimental support on https://github.com/conan-io/cmake-conan/tree/develop2 |
Interesting! I didn't notice it. Thanks for the heads-up, let me take a look! |
That was announced just yesterday on twitter by conanio :) |
Issue overview
Conan 2.0 has been officially released and includes a number of API breaking changes. Currently we can't build with conan 2.0
Linked issue (where most of the work will be):
The text was updated successfully, but these errors were encountered: