aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/unstable_cuda.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-07-03 14:00:47 +0300
committerGitHub <noreply@github.com>2021-07-03 14:00:47 +0300
commitec5baa62c8d8c578630a0962bbeea49bedd16a24 (patch)
tree05dffb3b12b45ab500f0c3ea6e40edef4cce1db1 /mesonbuild/modules/unstable_cuda.py
parentf21685a83330a4bbe1e59c3641a0d24f1efe8825 (diff)
parentbc4201a7f1e93d6afb62caa8ce81bb1b0211b70c (diff)
downloadmeson-ec5baa62c8d8c578630a0962bbeea49bedd16a24.zip
meson-ec5baa62c8d8c578630a0962bbeea49bedd16a24.tar.gz
meson-ec5baa62c8d8c578630a0962bbeea49bedd16a24.tar.bz2
Merge pull request #8950 from dcbaker/submit/import-required-disabled
Add required and disabled to import, modules.found method
Diffstat (limited to 'mesonbuild/modules/unstable_cuda.py')
-rw-r--r--mesonbuild/modules/unstable_cuda.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/unstable_cuda.py b/mesonbuild/modules/unstable_cuda.py
index 328b90b..9e8aa63 100644
--- a/mesonbuild/modules/unstable_cuda.py
+++ b/mesonbuild/modules/unstable_cuda.py
@@ -18,14 +18,14 @@ import re
from ..mesonlib import version_compare
from ..compilers import CudaCompiler, Compiler
-from . import ModuleObject
+from . import NewExtensionModule
from ..interpreterbase import (
flatten, permittedKwargs, noKwargs,
InvalidArguments, FeatureNew
)
-class CudaModule(ModuleObject):
+class CudaModule(NewExtensionModule):
@FeatureNew('CUDA module', '0.50.0')
def __init__(self, *args, **kwargs):