Skip to content

Commit bdb989f

Browse files
committed
just try using the same bundling on MSVC
1 parent 5384fbf commit bdb989f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function(bundle_static_library name deps)
138138
COMMAND_EXPAND_LISTS
139139
)
140140

141-
elseif (CMAKE_C_COMPILER_ID MATCHES "^(Clang|GNU)$")
141+
elseif (CMAKE_C_COMPILER_ID MATCHES "^(Clang|GNU|MSVC)$")
142142
# archive tool needs to support -M flag
143143
file(WRITE ${CMAKE_BINARY_DIR}/${name}.ar.in "CREATE ${tgt_full_name}\n")
144144

0 commit comments

Comments
 (0)