Fix MKL linking
[alexxy/gromacs.git] / cmake / gmxManageFFTLibraries.cmake
index 35c600001ee7ca404e8a24d6b40f71dbcc9a9ae1..3edd654a0ebf280d8571ce431d337e5cf9218510 100644 (file)
@@ -98,7 +98,10 @@ elseif(${GMX_FFT_LIBRARY} STREQUAL "MKL")
     if (NOT MKL_MANUALLY)
         # The next line takes care of everything for MKL
         if (WIN32)
-            set(FFT_LINKER_FLAGS "/Qmkl=sequential")
+            # This works according to the Intel MKL 10.3 for Windows
+            # docs, but on Jenkins Win2k8, icl tries to interpret it
+            # as a file. Shrug.
+            set(FFT_LINKER_FLAGS "/Qmkl:sequential")
         else()
             set(FFT_LINKER_FLAGS "-mkl=sequential")
         endif()