diff options
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index c9f384a915..989158356d 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -72,6 +72,7 @@ class SuperluDist(CMakePackage): args.append('-Denable_openmp=ON') else: args.append('-Denable_openmp=OFF') + args.append('-DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=ON') if '+shared' in spec: args.append('-DBUILD_SHARED_LIBS:BOOL=ON') |