def METHOD_NAME(self):
    spec = self.spec
    args = [
        self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
        self.define("CMAKE_CXX_COMPILER", spec["mpi"].mpicxx),
        self.define("CMAKE_Fortran_COMPILER", spec["mpi"].mpifc),
        self.define("Trilinos_DIR", spec["trilinos"].prefix),
        self.define("YAML_DIR", spec["yaml-cpp"].prefix),
        self.define_from_variant("ENABLE_CUDA", "cuda"),
        self.define_from_variant("ENABLE_WIND_UTILS", "wind-utils"),
        self.define_from_variant("ENABLE_BOOST", "boost"),
    ]
    args.append(self.define_from_variant("ENABLE_OPENFAST", "openfast"))
    if "+openfast" in spec:
        args.append(self.define("OpenFAST_DIR", spec["openfast"].prefix))
    args.append(self.define_from_variant("ENABLE_TIOGA", "tioga"))
    if "+tioga" in spec:
        args.append(self.define("TIOGA_DIR", spec["tioga"].prefix))
    args.append(self.define_from_variant("ENABLE_HYPRE", "hypre"))
    if "+hypre" in spec:
        args.append(self.define("HYPRE_DIR", spec["hypre"].prefix))
    args.append(self.define_from_variant("ENABLE_TRILINOS_SOLVERS", "trilinos-solvers"))
    args.append(self.define_from_variant("ENABLE_PARAVIEW_CATALYST", "catalyst"))
    if "+catalyst" in spec:
        args.append(
            self.define(
                "PARAVIEW_CATALYST_INSTALL_PATH", spec["trilinos-catalyst-ioss-adapter"].prefix
            )
        )
    args.append(self.define_from_variant("ENABLE_FFTW", "fftw"))
    if "+fftw" in spec:
        args.append(self.define("FFTW_DIR", spec["fftw"].prefix))
    args.append(self.define("ENABLE_TESTS", self.run_tests))
    if self.run_tests:
        args.extend(
            [
                self.define("TEST_TOLERANCE", spec.variants["abs_tol"].value),
                self.define("TEST_REL_TOL", spec.variants["rel_tol"].value),
            ]
        )
    if "darwin" in spec.architecture:
        args.append(self.define("CMAKE_MACOSX_RPATH", "ON"))
    return args