From a790483ba14656b1740e7940d77ba0cda92990cb Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Mon, 5 Jan 2026 03:46:42 -0800 Subject: [PATCH] cmake: Fix windows LNK1189 error (#4627) --- cmake/cpp.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/cpp.cmake b/cmake/cpp.cmake index 16e82c1467..3cf0921a7b 100644 --- a/cmake/cpp.cmake +++ b/cmake/cpp.cmake @@ -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" )