paradiseo: remove dependency that cannot be triggered (#24059)

refers #23503

Spack audit caught that the "doc" variant was not defined,
and doxygen was conditional on it being set.
This commit is contained in:
Massimiliano Culpo 2021-06-01 15:55:02 +02:00 committed by GitHub
parent 8fe2be0010
commit 379482b653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,6 @@ class Paradiseo(CMakePackage):
variant('edo', default=True,
description='Compile with (Experimental) EDO module')
# variant('doc', default=False, description='Compile with documentation')
variant('openmp', default=False, description='Enable OpenMP support')
variant('gnuplot', default=False, description='Enable GnuPlot support')
@ -40,7 +39,6 @@ class Paradiseo(CMakePackage):
# Optional dependencies
depends_on("mpi", when="+mpi")
depends_on("doxygen", when='+doc', type='build')
depends_on("gnuplot", when='+gnuplot')
depends_on("eigen", when='+edo', type='build')
depends_on("boost~mpi", when='+edo~mpi')