mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
build: turn on warnings-as-errors in git builds with MSVC
This commit is contained in:
parent
26e7abbe30
commit
887134a841
@ -703,6 +703,9 @@ foreach(tgt ${LIBDWARFS_TARGETS} ${LIBDWARFS_OBJECT_TARGETS} dwarfs_test_helpers
|
||||
|
||||
/wd4456 # declaration hides previous local declaration
|
||||
)
|
||||
if(DWARFS_GIT_BUILD)
|
||||
target_compile_options(${tgt} PRIVATE /WX)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user