Skip to content

Commit 199ef86

Browse files
krystophnyperazz
andcommitted
Set /Qmkl for Windows ifx
Co-authored-by: Federico Perini <[email protected]>
1 parent 39de905 commit 199ef86

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/metapackage/fpm_meta_blas.f90

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,14 @@ subroutine init_blas(this, compiler, error)
4444
end if
4545

4646
if (compiler%is_intel()) then
47-
this%flags = string_t("-qmkl")
47+
if (get_os_type() == OS_WINDOWS) then
48+
this%flags = string_t("/Qmkl")
49+
this%link_flags = string_t("/Qmkl")
50+
else
51+
this%flags = string_t("-qmkl")
52+
this%link_flags = string_t("-qmkl")
53+
endif
4854
this%has_build_flags = .true.
49-
this%link_flags = string_t("-qmkl")
5055
this%has_link_flags = .true.
5156
return
5257
end if

0 commit comments

Comments
 (0)