зеркало из https://github.com/microsoft/vcpkg.git
[zstd] Removing de-duplication of cmake flags (#13454)
This commit is contained in:
Родитель
c31cfd3c81
Коммит
c7db4c3498
|
@ -0,0 +1,12 @@
|
|||
diff --git a/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake b/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake
|
||||
index 7adca875..8835d1c6 100644
|
||||
--- a/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake 2019-11-04 17:54:32.000000000 +0000
|
||||
+++ b/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake 2020-09-09 20:54:13.817515706 +0000
|
||||
@@ -52,7 +52,6 @@
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
|
||||
if( ${flag_var} )
|
||||
separate_arguments(${flag_var})
|
||||
- list(REMOVE_DUPLICATES ${flag_var})
|
||||
string(REPLACE ";" " " ${flag_var} "${${flag_var}}")
|
||||
endif()
|
||||
endforeach ()
|
|
@ -1,5 +1,5 @@
|
|||
Source: zstd
|
||||
Version: 1.4.4
|
||||
Port-Version: 2
|
||||
Port-Version: 3
|
||||
Description: Zstandard - Fast real-time compression algorithm
|
||||
Homepage: https://facebook.github.io/zstd/
|
||||
|
|
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
|||
HEAD_REF dev
|
||||
PATCHES
|
||||
0001-export-zstd-config.patch
|
||||
0002-crosscompile-windows.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
|
|
Загрузка…
Ссылка в новой задаче