summaryrefslogtreecommitdiff
path: root/nvidia-installer.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvidia-installer.c')
-rw-r--r--nvidia-installer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvidia-installer.c b/nvidia-installer.c
index ac0a848..e74b6e2 100644
--- a/nvidia-installer.c
+++ b/nvidia-installer.c
@@ -139,6 +139,7 @@ static Options *load_default_options(void)
op->check_for_alternate_installs = TRUE;
op->install_uvm = TRUE;
op->install_drm = TRUE;
+ op->install_peermem = TRUE;
op->install_compat32_libs = NV_OPTIONAL_BOOL_DEFAULT;
op->install_libglx_indirect = NV_OPTIONAL_BOOL_DEFAULT;
op->install_libglvnd_libraries = NV_OPTIONAL_BOOL_DEFAULT;
@@ -452,6 +453,9 @@ static void parse_commandline(int argc, char *argv[], Options *op)
case NO_DRM_OPTION:
op->install_drm = FALSE;
break;
+ case NO_PEERMEM_OPTION:
+ op->install_peermem = FALSE;
+ break;
case NO_CHECK_FOR_ALTERNATE_INSTALLS_OPTION:
op->check_for_alternate_installs = FALSE;
break;