Skip to content

Conversation

@supervacuus
Copy link
Collaborator

We currently have no assembler requirement in the top-level project and thus were triggering CMake policy CMP194. There should be no assembler configuration at all as long as we haven't added any of the subprojects.

We currently have no assembler requirement in the top-level project and thus were triggering CMake policy CMP194. There should be no assembler configuration at all as long as we haven't added any of the subprojects.
@jpnurmi
Copy link
Collaborator

jpnurmi commented Sep 18, 2025

Do we need to enable ASM in external/CMakeLists.txt for breakpad?

@supervacuus
Copy link
Collaborator Author

Do we need to enable ASM in external/CMakeLists.txt for breakpad?

Yes, but it is really only needed on Linux for the getcontext implementation. Since our breakpad fork isn't CMakeified, the entire CMake config happens in the top-level, and no project() triggers a language search in the subdirectory. However, it is really only there where we should do it, and not at the top level, where there are no restrictions concerning the backend, platform, or toolchain.

@supervacuus supervacuus merged commit c0a06b1 into master Sep 18, 2025
38 of 39 checks passed
@supervacuus supervacuus deleted the fix/remove_toplevel_asm_triggering_cmp194 branch September 18, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants