Skip to content

Commit be3268b

Browse files
committed
LLVM patch: support .lib extension for static zstd
1 parent f022218 commit be3268b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/cmake/modules/Findzstd.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
if(MSVC)
1414
set(zstd_STATIC_LIBRARY_SUFFIX "_static\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
15+
elseif(WIN32)
16+
set(zstd_SHARED_LIBRARY_SUFFIX "\\${CMAKE_SHARED_LIBRARY_SUFFIX}$")
17+
set(zstd_STATIC_LIBRARY_SUFFIX ".lib")
1518
else()
1619
set(zstd_STATIC_LIBRARY_SUFFIX "\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
1720
endif()

0 commit comments

Comments
 (0)