Ver Fonte

UI: Suppress LNK4098

defaultlib 'MSVCRT' conflicts with use of other libs; use
/NODEFAULTLIB:library
Ryan Foster há 3 anos atrás
pai
commit
d88ca3b243
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      UI/CMakeLists.txt

+ 1 - 1
UI/CMakeLists.txt

@@ -365,7 +365,7 @@ if(OS_WINDOWS)
                 _CRT_NONSTDC_NO_WARNINGS)
 
   if(MSVC)
-    target_link_options(obs PRIVATE "LINKER:/IGNORE:4099")
+    target_link_options(obs PRIVATE "LINKER:/IGNORE:4098" "LINKER:/IGNORE:4099")
     target_link_libraries(obs PRIVATE OBS::w32-pthreads)
 
     set_source_files_properties(