mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Suppress LNK4098
defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
This commit is contained in:
parent
393af9d916
commit
d88ca3b243
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue