mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
cmake: Make release builds more reproducible
Use an undocumented MSVC linker flag to not emit tool version info for Release and MinSizeRel builds.
This commit is contained in:
@@ -92,6 +92,7 @@ add_link_options(
|
||||
$<$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>:/LTCG>
|
||||
$<$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>:/OPT:REF>
|
||||
$<$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>:/OPT:ICF>
|
||||
$<$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>:/EMITTOOLVERSIONINFO:NO>
|
||||
/DEBUG
|
||||
/Brepro
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user