Skip to content

CMake update for 4.1 change#304

Open
walbourn wants to merge 1 commit into
mainfrom
cmakeupdates
Open

CMake update for 4.1 change#304
walbourn wants to merge 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
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.

1 participant