Skip to content

Commit

Permalink
LLVM patch: support .lib extension for static zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Mar 3, 2023
1 parent 2792a47 commit 786aed6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/cmake/modules/Findzstd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

if(MSVC)
set(zstd_STATIC_LIBRARY_SUFFIX "_static\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
elseif(WIN32)
set(zstd_SHARED_LIBRARY_SUFFIX "\\${CMAKE_SHARED_LIBRARY_SUFFIX}$")
set(zstd_STATIC_LIBRARY_SUFFIX ".lib")
else()
set(zstd_STATIC_LIBRARY_SUFFIX "\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
endif()
Expand Down

0 comments on commit 786aed6

Please sign in to comment.