mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-25 17:02:22 -04:00
cmake: Set /Brepro compiler/linker options
This commit is contained in:
@@ -52,6 +52,7 @@ if(OS_WINDOWS AND MSVC)
|
||||
endif()
|
||||
|
||||
add_compile_options(
|
||||
/Brepro
|
||||
/MP
|
||||
/W3
|
||||
/WX
|
||||
@@ -75,6 +76,7 @@ if(OS_WINDOWS AND MSVC)
|
||||
/std:c17)
|
||||
|
||||
add_link_options(
|
||||
"LINKER:/Brepro"
|
||||
"LINKER:/OPT:REF"
|
||||
"LINKER:/WX"
|
||||
"$<$<NOT:$<EQUAL:${CMAKE_SIZEOF_VOID_P},8>>:LINKER\:/SAFESEH\:NO>"
|
||||
|
||||
Reference in New Issue
Block a user