summaryrefslogtreecommitdiff
path: root/Modules/VTKCompatibility.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2015-06-16 01:16:57 +0700
committerBrad King <brad.king@kitware.com>2015-06-18 08:59:34 -0400
commitc8bd37ec685c02736618af83ac894e96fc1e6ab8 (patch)
tree49f6721e20ea3baa778f0649cdb3f30430819e06 /Modules/VTKCompatibility.cmake
parent5f30f1754ac9a701cbd311bab86250dd237d86fd (diff)
downloadcmake-c8bd37ec685c02736618af83ac894e96fc1e6ab8.tar.gz
GNUInstallDirs: Add special cases for certain prefixes
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.
Diffstat (limited to 'Modules/VTKCompatibility.cmake')
0 files changed, 0 insertions, 0 deletions