diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-12-22 23:44:35 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-12-22 23:45:48 +0100 |
| commit | d76d0e82f1cb8013e9c466a4fa287167bbc93318 (patch) | |
| tree | e968a6fe0143f3a4aec49afc14e8df5c8c288cbf /eclass | |
| parent | 83a578fb40f4010e2cac4f8d1d63a7b4d41f2f26 (diff) | |
| download | kde-d76d0e82f1cb8013e9c466a4fa287167bbc93318.tar.gz kde-d76d0e82f1cb8013e9c466a4fa287167bbc93318.tar.bz2 kde-d76d0e82f1cb8013e9c466a4fa287167bbc93318.zip | |
[eclasses] cmake-utils use NOCOLOR that is standardised behavior for no-colors-output variable.
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/cmake-utils.eclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 5e2cb37553a..a2794d5426b 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -113,10 +113,6 @@ _use_me_now_inverted() { # @DESCRIPTION: # Set to enable in-source build. -# @ECLASS-VARIABLE: CMAKE_NO_COLOR -# @DESCRIPTION: -# Set to disable cmake output coloring. - # @ECLASS-VARIABLE: CMAKE_VERBOSE # @DESCRIPTION: # Set to enable verbose messages during compilation. @@ -314,7 +310,7 @@ enable_cmake-utils_src_configure() { cat > "${common_config}" <<- _EOF_ SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) _EOF_ - [[ -n ${CMAKE_NO_COLOR} ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" + [[ -n ${NOCOLOR} ]] || echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" # Convert mycmakeargs to an array, for backwards compatibility # Make the array a local variable since <=portage-2.1.6.x does not |
