Error Corrosion requires at least CMake 3.20 with Multi-Config Generators
#25
-
This error appears when selecting Windows after
Current cmake version is
How do I solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I edited the post so that everyone can benefit :) |
Beta Was this translation helpful? Give feedback.
-
It seems that the cause is corrosion entering the 0.4 beta on the master branch and being unstable at the moment. Related issues can be seen here. I suppose you're using Windows. Can you try opening
to
this? |
Beta Was this translation helpful? Give feedback.
-
Corrosion maintainer here - that sounds strange. The code checking the CMake version is quite simple: https://github.com/corrosion-rs/corrosion/blob/ea2d71ba37acbf24a24304190b8801a5c0ac5bf3/cmake/Corrosion.cmake#L3 Is it possible you have configured your build directory to use a different cmake version, than the default one in message(STATUS "The CMake version is ${CMAKE_VERSION}") |
Beta Was this translation helpful? Give feedback.
-
Read more about this problem here: #26 (comment) |
Beta Was this translation helpful? Give feedback.
Read more about this problem here: #26 (comment)