diff options
author | Alex Merry <alex.merry@kde.org> | 2015-01-11 10:57:17 +0000 |
---|---|---|
committer | l10n daemon script <scripty@kde.org> | 2015-01-11 17:17:11 +0000 |
commit | a1bb0b0488843165e606771b75a3a67ba8a131a6 (patch) | |
tree | a42f2e45c7988ee00108fdc5dddc825cf70f2963 /attic/modules/FindOpenEXR.cmake | |
parent | 441c4543458f0f6c25dbe8bc8b9f0c3910911165 (diff) | |
download | extra-cmake-modules-1.6.1.tar.gz extra-cmake-modules-1.6.1.tar.bz2 |
Do not unset cache variables in KDEInstallDirs.v1.6.1
Cache variables such as CMAKE_INSTALL_BINDIR may be used by other
modules included from parallel parts of the tree, so we should not touch
them. We still override them in the runtime environment, but this will
not interfere with parallel subtrees of the project.
As part of this, the order of precedence of variables specified on the
command line is changed, so that KDE_INSTALL_* is considered first
(although it is still considered "undefined" in the documentation). This
means that if you only specify CMAKE_INSTALL_BINDIR, that will be used
by both KDEInstallDirs and GNUInstallDirs, but if you specify both that
and KDE_INSTALL_BINDIR, KDEInstallDirs will use KDE_INSTALL_BINDIR
instead. This is probably not too useful, but seems more useful than
any other arrangement.
BUG: 342717
REVIEW: 121982
(cherry picked from commit 4462e9ddedb78c31a6f1089d073b1bfde6ce60ce)
Diffstat (limited to 'attic/modules/FindOpenEXR.cmake')
0 files changed, 0 insertions, 0 deletions