diff options
author | Repository QA checks <repo-qa-checks@gentoo.org> | 2016-05-17 23:28:50 +0000 |
---|---|---|
committer | Repository QA checks <repo-qa-checks@gentoo.org> | 2016-05-17 23:28:50 +0000 |
commit | fe312fde0962cd42e0cb52c828d07c45302d2643 (patch) | |
tree | 17c394d52414ded3666a3a49fbab3f23b0e59d60 | |
parent | 2016-05-17 22:33:11 UTC (diff) | |
parent | cmake-utils.eclass: enable CMAKE_WARN_UNUSED_CLI for EAPI 6 (diff) | |
download | gentoo-fe312fde0962cd42e0cb52c828d07c45302d2643.tar.gz gentoo-fe312fde0962cd42e0cb52c828d07c45302d2643.tar.bz2 gentoo-fe312fde0962cd42e0cb52c828d07c45302d2643.zip |
Merge updates from master
-rw-r--r-- | eclass/cmake-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index ebcb631b2dd3..427c13fe6cc2 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -87,7 +87,6 @@ _CMAKE_UTILS_ECLASS=1 # Warn about variables that are declared on the command line # but not used. Might give false-positives. # "no" to disable (default) or anything else to enable. -: ${CMAKE_WARN_UNUSED_CLI:=no} # @ECLASS-VARIABLE: PREFIX # @DESCRIPTION: @@ -113,7 +112,8 @@ _CMAKE_UTILS_ECLASS=1 # Should be set by user in a per-package basis in /etc/portage/package.env. case ${EAPI} in - 2|3|4|5|6) : ;; + 2|3|4|5) : ${CMAKE_WARN_UNUSED_CLI:=no} ;; + 6) : ${CMAKE_WARN_UNUSED_CLI:=yes} ;; *) die "EAPI=${EAPI:-0} is not supported" ;; esac |