Fix MSVC compilation of libarchive: Don't use /WX (-Werror)

This commit is contained in:
David Capello 2019-10-23 21:10:19 -03:00
parent 13d042f346
commit 446e7055e9

View File

@ -105,6 +105,7 @@ endif()
add_subdirectory(json11)
# libarchive
set(ENABLE_WERROR OFF CACHE BOOL "Treat warnings as errors - default is ON for Debug, OFF otherwise.")
set(ENABLE_TEST OFF CACHE BOOL "Enable unit and regression tests")
set(ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage (GCC only, automatically sets ENABLE_TEST to ON)")
set(ENABLE_LZMA OFF CACHE BOOL "Enable the use of the system LZMA library if found")