mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 03:15:34 +08:00
[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:
parent
0660e5edf2
commit
521abc5c2f
13
ports/bit7z/fix_compile_options.patch
Normal file
13
ports/bit7z/fix_compile_options.patch
Normal 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
|
@ -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}")
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "761234aa0ad3687fccc86bf939350659f9d137d6",
|
||||
"version": "4.0.9",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "88073b4adf36aa5b939b9565ec299084e3162e8b",
|
||||
"version": "4.0.9",
|
||||
|
@ -658,7 +658,7 @@
|
||||
},
|
||||
"bit7z": {
|
||||
"baseline": "4.0.9",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"bitmagic": {
|
||||
"baseline": "7.13.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user