Skip to content

CMake update for v4.1 change#291

Open
walbourn wants to merge 1 commit intomainfrom
cmakeupdates
Open

CMake update for v4.1 change#291
walbourn wants to merge 1 commit intomainfrom
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 compiler and /DYNAMICBASE /NXCOMPAT /SAFESEH to linker by default unless set in the CMake.

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 Apr 24, 2026
@walbourn walbourn added the cmake Related to CMake build label Apr 24, 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