occ-ai / obs-localvocal

OBS plugin for local speech recognition and captioning using AI
https://obsproject.com/forum/resources/localvocal-live-stream-ai-assistant.1769/
GNU General Public License v2.0
340 stars 27 forks source link

Handle Linux systems that use /lib64 instead of /lib #100

Closed Tabby closed 2 weeks ago

Tabby commented 1 month ago

Use CMAKE_INSTALL_LIBDIR variable to set the correct lib folder to use for installing libraries so that CMake looks in the right place for the dependencies when linking

This shouldn't affect builds on other systems, both Linux and otherwise, but it fixes it for systems that prefer /lib64

royshil commented 1 month ago

@Tabby do you mind fixing the cmake so it passes linting?

Tabby commented 1 month ago

Not at all! Also yes of course there's a CMake linter, my bad. Must get that set up locally 😅

Tabby commented 1 month ago

Ugh, I think this approach is wrong, as it causes the Ubuntu build to fail with the error I was getting on Gentoo before this change :/

royshil commented 2 weeks ago

going to close now for staleness lmk if more work is needed on this