Skip to content

Commit c9481f5

Browse files
authored
fix mingw not supported PDB (#740)
1 parent 88880c2 commit c9481f5

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
@@ -273,7 +273,7 @@ if(BUILD_STATIC)
273273
add_custom_target(libhv_static DEPENDS hv_static)
274274
endif()
275275

276-
if(WIN32)
276+
if(WIN32 AND NOT MINGW)
277277
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION bin OPTIONAL)
278278
endif()
279279

0 commit comments

Comments
 (0)