CMake 4.1 raises errors when trying to compile sentry native #1381
-
I was playing around with Visual Studio 2026 insiders preview and was forced to installed a nightly from cmake to get support for creating VS2026 project files. While playing around with it i noticed that i get an error messages when trying to compile sentry-native
ChatGPT pointed into changing that to either ml.exe or nasm.exe (?, never heared) for windows Details here: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
An assembly language requirement in the top-level CMake project triggered this. We have no assembly requirement at the top level, so removing this also eliminates the policy warning. In subprojects, if the project requires it, there is always at least one assembler configured that isn't PR: #1384 |
Beta Was this translation helpful? Give feedback.
-
closing it as fixed .) |
Beta Was this translation helpful? Give feedback.
An assembly language requirement in the top-level CMake project triggered this. We have no assembly requirement at the top level, so removing this also eliminates the policy warning.
In subprojects, if the project requires it, there is always at least one assembler configured that isn't
cl.exe
, and thus the policy doesn't trigger a warning there.PR: #1384