Commit adcb69e
fix: set cppstd=17 in default Conan profile for Windows builds
conan_provider.cmake passes --profile:build=default to conan install.
The auto-detected default on MSVC always sets compiler.cppstd=14, which
fails validation for protobuf/6.33.5 (requires C++17) when used as a
build/tool requirement.
Pre-creating the default profile with cppstd=17 before CMake runs ensures
both the host and build profiles agree on the C++ standard.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent dffb8bb commit adcb69e
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
| |||
0 commit comments