Explorar el Código

fix mingw not supported PDB (#740)

宅の士 hace 6 meses
padre
commit
c9481f5861
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()