vcpkg/ports/zstd/no-static-suffix.patch
Kai Pastor d8783052cb
[zstd] No debug postfix. No renaming of CMake config files. (#22822)
* Use upstream's standard filenames

* Update license info

* CMake style

* Revise downstream zstd patching

* Update versions

* Don't use '_static' lib name suffix

* Revise downstream zstd patching

* Add usage

* Update versions

* Update versions

* [zstd] Simplify consumers via fixed .pc and linkage alias

* [zstd] Fix missing IMPORTED

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-02-15 17:20:21 -08:00

14 lines
523 B
Diff

diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
index 8234060..765f003 100644
--- a/build/cmake/lib/CMakeLists.txt
+++ b/build/cmake/lib/CMakeLists.txt
@@ -112,7 +112,7 @@ endif ()
# With MSVC static library needs to be renamed to avoid conflict with import library
if (MSVC OR (WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MINGW))
- set(STATIC_LIBRARY_BASE_NAME zstd_static)
+ set(STATIC_LIBRARY_BASE_NAME zstd)
else ()
set(STATIC_LIBRARY_BASE_NAME zstd)
endif ()