mirror of
https://github.com/polybar/polybar.git
synced 2026-02-08 07:25:42 +00:00
Using CMAKE_INSTALL_SYSCONFDIR does respect CMAKE_INSTALL_PREFIX, but it prefixes it to CMAKE_INSTALL_SYSCONFDIR, which results in the default config being installed to /usr/etc/polybar/config.ini or /usr/local/etc/polybar/config.ini CMAKE_INSTALL_FULL_SYSCONFDIR gives an absolute path that respects the prefix but does the right thing (uses /etc) if it is /usr Ref: #2770