瀏覽代碼

updater: Fix building in Debug

derrod 2 年之前
父節點
當前提交
b31344d82e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      UI/win-update/updater/CMakeLists.txt

+ 1 - 0
UI/win-update/updater/CMakeLists.txt

@@ -35,6 +35,7 @@ target_compile_definitions(updater PRIVATE NOMINMAX "PSAPI_VERSION=2")
 if(MSVC)
   target_compile_options(updater PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
   target_compile_options(updater PRIVATE "/utf-8")
+  target_link_options(updater PRIVATE "LINKER:/IGNORE:4098")
 endif()
 
 target_link_libraries(updater PRIVATE OBS::blake2 zstd::libzstd_static comctl32