Closed xrloong closed 2 years ago
I have reported an issue about Conan not generating "clean" scripts before: https://github.com/conan-io/conan/issues/10288
I'm not sure what exactly changed. Worst case scenario, I remove the cmake-pedantic
preset for Conan as well, like for vcpkg.
The quick fix in the meantime is to do just that, i.e. remove the preset:
{
"name": "cmake-pedantic",
"hidden": true,
"warnings": {
"dev": true,
"deprecated": true,
"uninitialized": true,
"unusedCli": true,
"systemVars": false
},
"errors": {
"dev": true,
"deprecated": true
}
},
and the references to it.
Okay, the Conan people released 1.51.3 just after I filed the issue and it fixes this regression. I'll close this for now. Thanks for the report!
Environment: Platform: Mac mini (M1, 2020) OS: macOS 12.4 CMake version: 3.24.0 cmake-init version: 0.31.2 conan version: 1.51.2
If I use Conan 1.50.2, it works.
error message for cmake-init with Conan 1.51.2:
$ cmake --preset=dev