[docs] obs: update instructions to make use of USER_INSTALL

This commit is contained in:
Geoffrey McRae 2021-11-22 10:42:46 +11:00
parent 8167ef2c4a
commit bc022c77f4

View File

@ -40,6 +40,15 @@ Building
These instructions are similar to building the
:ref:`client <client_building>`.
.. 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
~~~~~