--- CMakeLists.txt.orig	2020-12-27 14:03:11 UTC
+++ CMakeLists.txt
@@ -160,7 +160,7 @@ elseif(UNIX AND NOT APPLE)
     elseif(GLOBAL_INSTALLATION)
         # For *.deb installer
         install(TARGETS ${CMAKE_PROJECT_NAME}
-            LIBRARY DESTINATION "/usr/lib/obs-plugins") # hardcoded, since ubuntu uses the wrong path by default
+            LIBRARY DESTINATION "lib/obs-plugins") # hardcoded, since ubuntu uses the wrong path by default
 
         file(GLOB locale_files data/locale/*.ini)
         file(GLOB other_files data/*.*)
