cmake: Fix windows LNK1189 error (#4627)

This commit is contained in:
Corentin Le Molgat
2026-01-05 03:46:42 -08:00
parent 5ed34077c7
commit a790483ba1

View File

@@ -110,6 +110,7 @@ if(MSVC)
"/D_CRT_SECURE_NO_WARNINGS"
"/D_CRT_SECURE_NO_DEPRECATE"
"/MP" # Build with multiple processes
"/Zc:inline" # Remove unreferenced COMDAT
"/Zc:preprocessor" # Enable preprocessor conformance mode
"/fp:precise"
)