From bc022c77f461b616eb84b9471cb69ab6746139ef Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 22 Nov 2021 10:42:46 +1100 Subject: [PATCH] [docs] obs: update instructions to make use of `USER_INSTALL` --- doc/obs.rst | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/obs.rst b/doc/obs.rst index d3e6e71b..cdd3b4d1 100644 --- a/doc/obs.rst +++ b/doc/obs.rst @@ -40,6 +40,15 @@ Building These instructions are similar to building the :ref:`client `. +.. code:: bash + + mkdir obs/build + cd obs/build + cmake -DUSER_INSTALL=1 ../ + make + +Alternatively if you would like to install the plugin for all users. + .. code:: bash mkdir obs/build @@ -50,19 +59,14 @@ These instructions are similar to building the Installation ~~~~~~~~~~~~ -You can install the plugin for all users by running ``make install`` as root. +You can install the plugin for by running ``make install``. .. code:: bash make install -If you'd rather install for your local user, copy -``liblooking-glass-obs.so`` to the correct path for local plugins. - -.. code:: bash - - mkdir -p ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit - cp liblooking-glass-obs.so ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit +If you opted to install the plugin for all users you will need to run +this command as ``root``. Setup ~~~~~