[bit7z] compile option without warnings as errors (#43005)

Signed-off-by: l.feng <43399351+msclock@users.noreply.github.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
This commit is contained in:
l.feng 2024-12-30 23:34:52 +08:00 committed by GitHub
parent 0660e5edf2
commit 521abc5c2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/cmake/CompilerOptions.cmake b/cmake/CompilerOptions.cmake
index 1cdb84f..fd9346f 100644
--- a/cmake/CompilerOptions.cmake
+++ b/cmake/CompilerOptions.cmake
@@ -70,7 +70,7 @@ if( MSVC )
endforeach()
endif()
else()
- target_compile_options( ${LIB_TARGET} PRIVATE -Wall -Wextra -Werror -Wconversion -Wsign-conversion )
+ target_compile_options( ${LIB_TARGET} PRIVATE -Wall -Wextra -Wconversion -Wsign-conversion )
endif()
# Extra warning flags for Clang

View File

@ -9,6 +9,7 @@ vcpkg_from_github(
PATCHES
fix_install.patch
fix_dependency.patch
fix_compile_options.patch
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-bit7z-config.cmake.in" DESTINATION "${SOURCE_PATH}")

View File

@ -1,6 +1,7 @@
{
"name": "bit7z",
"version": "4.0.9",
"port-version": 1,
"description": "A C++ static library offering a clean and simple interface to the 7-zip shared libraries.",
"homepage": "https://github.com/rikyoz/bit7z",
"license": "MPL-2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "761234aa0ad3687fccc86bf939350659f9d137d6",
"version": "4.0.9",
"port-version": 1
},
{
"git-tree": "88073b4adf36aa5b939b9565ec299084e3162e8b",
"version": "4.0.9",

View File

@ -658,7 +658,7 @@
},
"bit7z": {
"baseline": "4.0.9",
"port-version": 0
"port-version": 1
},
"bitmagic": {
"baseline": "7.13.4",