Factor the option and checking of compiler version better. Put the
[oota-llvm.git] / cmake / config-ix.cmake
index 57725f83af942b9cc76fea2661bbee2e3debca3b..dc991a23be075ad3554717c0218bbb594d158775 100755 (executable)
@@ -415,6 +415,7 @@ endif ()
 if( MINGW )
   set(HAVE_LIBIMAGEHLP 1)
   set(HAVE_LIBPSAPI 1)
+  set(HAVE_LIBSHELL32 1)
   # TODO: Check existence of libraries.
   #   include(CheckLibraryExists)
   #   CHECK_LIBRARY_EXISTS(imagehlp ??? . HAVE_LIBIMAGEHLP)