--- a/wxcrafter/CMakeLists.txt
+++ b/wxcrafter/CMakeLists.txt
@@ -29,9 +29,9 @@ message("-- Generating makefile for wxCrafter")
 # visual studio, and in our makefiles. 
 project( ${PLUGIN_NAME} )
 
-if ( UNIX AND NOT APPLE )
+if ( UNIX AND NOT APPLE OR MINGW )
     set(__WX_COMPONENTS "std aui propgrid stc richtext ribbon")
-else (UNIX AND NOT APPLE )
+else (UNIX AND NOT APPLE OR MINGW )
     # Apple, monolithic build of wxWidgets
     set(__WX_COMPONENTS "std")
 endif()
