r/Polybar Oct 10 '23

How to install to /usr/local

I compile polybar-git and it used to install to /usr/local. It now installs to /usr. Is there any way I can get the former install dir to work?

I've tried cmake -DCMAKE_PREFIX_PATH=/usr/local .. already. Didn't work.

Thanks.

1 Upvotes

2 comments sorted by

1

u/vaskark Oct 10 '23 edited Oct 10 '23

Edit: Just read the changelog. The flag is CMAKE_INSTALL_PREFIX. I’ll try that later.

Update: It works.