Group :: System/Libraries
RPM: lib7zip
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: lib7zip-fix-gcc10.patch
Download
Download
diff --git a/lib7zip/CMakeLists.txt b/lib7zip/CMakeLists.txt
index e31f671..6c624b6 100644
--- a/lib7zip/CMakeLists.txt
+++ b/lib7zip/CMakeLists.txt
@@ -39,10 +39,10 @@ SET(P7ZIP_INCLUDE_PATH "${P7ZIP_SOURCE_DIR}"
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
- set(warnings "-Wall -Wextra -Werror -Wno-unused-parameter -Wno-class-memaccess")
+ set(warnings "-Wall -Wextra -Wno-unused-parameter -Wno-class-memaccess")
set(no_undefined "-Wl,--no-undefined")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(warnings "-Wall -Wextra -Werror -Wno-inconsistent-missing-override -Wno-unused-parameter")
+ set(warnings "-Wall -Wextra -Wno-inconsistent-missing-override -Wno-unused-parameter")
set(no_undefined "-Wl,-undefined,error")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
set(warnings "/W4 /WX /EHsc")