Skip to content

CMake update for 4.1 change#304

Merged
walbourn merged 1 commit into
mainfrom
cmakeupdates
May 13, 2026
Merged

CMake update for 4.1 change#304
walbourn merged 1 commit into
mainfrom
cmakeupdates

Conversation

@walbourn
Copy link
Copy Markdown
Member

In CMake 4.1, the VS Generator no longer adds /Zc:forScope /Zc:inline /Zc:wchar_t to the compiler.

This adds them back to the project to ensure they are set in VS Generator scenarios. /Zc:forScope /Zc:wchar_t were already the compiler default, and the project already set the other ones so it shouldn't result in any real compilation change for existing CMake projects or the Ninja generator.

@walbourn walbourn self-assigned this May 13, 2026
@walbourn walbourn added the cmake Related to CMake build label May 13, 2026
@walbourn walbourn merged commit 0474c59 into main May 13, 2026
227 checks passed
@walbourn walbourn deleted the cmakeupdates branch May 13, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake Related to CMake build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants