From 959a186a0f05a9ca30c1def2f911618cd17aabe5 Mon Sep 17 00:00:00 2001 From: Jingchen Date: Thu, 20 Aug 2026 13:19:07 +0000 Subject: [PATCH] build: Suppress MSVC linker warning LNK4099 (#8049) --- cmake/XrplCompiler.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/XrplCompiler.cmake b/cmake/XrplCompiler.cmake index 2b46739d97..29c1dfe478 100644 --- a/cmake/XrplCompiler.cmake +++ b/cmake/XrplCompiler.cmake @@ -120,7 +120,10 @@ if(MSVC) _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS $<$,$>:_CRTDBG_MAP_ALLOC> ) - target_link_libraries(common INTERFACE -errorreport:none -machine:X64) + target_link_libraries( + common + INTERFACE -errorreport:none -machine:X64 -ignore:4099 + ) else() target_compile_options( common