浏览代码

fix mingw not supported PDB (#740)

宅の士 6 月之前
父节点
当前提交
c9481f5861
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -273,7 +273,7 @@ if(BUILD_STATIC)
     add_custom_target(libhv_static DEPENDS hv_static)
 endif()
 
-if(WIN32)
+if(WIN32 AND NOT MINGW)
     install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION bin OPTIONAL)
 endif()