gromacs: fix version branch in intel fftw (#40489)
This commit is contained in:
parent
feda52f800
commit
37f48aff8b
@ -618,7 +618,7 @@ def cmake_args(self):
|
||||
# fftw-api@3 is provided by intel-mkl or intel-parllel-studio
|
||||
# we use the mkl interface of gromacs
|
||||
options.append("-DGMX_FFT_LIBRARY=mkl")
|
||||
if not self.spec["mkl"].satisfies("@2023:"):
|
||||
if self.spec.satisfies("@:2022"):
|
||||
options.append(
|
||||
"-DMKL_INCLUDE_DIR={0}".format(self.spec["mkl"].headers.directories[0])
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user