[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 These instructions are similar to building the
:ref:`client <client_building>`. :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 .. code:: bash
mkdir obs/build mkdir obs/build
@ -50,19 +59,14 @@ These instructions are similar to building the
Installation 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 .. code:: bash
make install make install
If you'd rather install for your local user, copy If you opted to install the plugin for all users you will need to run
``liblooking-glass-obs.so`` to the correct path for local plugins. this command as ``root``.
.. 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
Setup Setup
~~~~~ ~~~~~