--- a/config/VigranumpyConfig.cmake.in
+++ b/config/VigranumpyConfig.cmake.in
@@ -52,7 +52,7 @@
         ADD_DEFINITIONS(-DBOOST_AUTO_LINK_NOMANGLE)
     endif()
     
-    IF(WIN32 AND NOT MINGW)
+    IF(WIN32)
         SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES OUTPUT_NAME "${LIBRARY_NAME}" 
                                                            PREFIX "" SUFFIX  ".pyd")
     ELSEIF(APPLE)
