c8bd37ec68
Teach the module to handle SYSCONFDIR and LOCALSTATEDIR properly if CMAKE_INSTALL_PREFIX is set to `/` or `/usr` -- i.e. as expected by GNU Coding Standard (i.e. set SYSCONFDIR to `/etc` and `LOCALSTATEDIR` to `/var`). Also if CMAKE_INSTALL_PREFIX is set to /opt/pkg, `SYSCONFDIR` must be set to `/etc/opt/pkg` and `LOCALSTATEDIR` to `/var/opt/pkg` according to FHS. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Common.cmake | ||
Opt-stderr.txt | ||
Opt.cmake | ||
Root-stderr.txt | ||
Root.cmake | ||
RunCMakeTest.cmake | ||
Usr-stderr.txt | ||
Usr.cmake | ||
UsrLocal-stderr.txt | ||
UsrLocal.cmake |