Skip to content

CMake update for 4.1 change - #304

Merged
Chuck Walbourn (walbourn) merged 1 commit into
mainfrom
cmakeupdates
May 13, 2026
Merged

CMake update for 4.1 change#304
Chuck Walbourn (walbourn) merged 1 commit into
mainfrom
cmakeupdates

Conversation

@walbourn

Copy link
Copy Markdown
Collaborator

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
Chuck Walbourn (walbourn) merged commit 0474c59 into main May 13, 2026
227 checks passed
@walbourn
Chuck 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