diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-24 21:09:28 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-24 21:09:28 +0000 |
commit | 00d49244ea6fb62bcc0a534f6e8b827f32eb17d2 (patch) | |
tree | 6100695e990d6a665de757b474b6a3a0cb97f003 /eclass/cmake-utils.eclass | |
parent | Bug #303555: mysql-community users should switch to dev-db/mysql properly. (diff) | |
download | gentoo-2-00d49244ea6fb62bcc0a534f6e8b827f32eb17d2.tar.gz gentoo-2-00d49244ea6fb62bcc0a534f6e8b827f32eb17d2.tar.bz2 gentoo-2-00d49244ea6fb62bcc0a534f6e8b827f32eb17d2.zip |
Support other ways of doing libdir fixes for cmake, as suggested by http://www.lcfg.org/doc/buildtools/cmake_recipes.html.
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 067dc2a41b2a..a3085ef2e6b9 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.47 2010/02/11 18:00:05 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.48 2010/03/24 21:09:28 robbat2 Exp $ # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -308,6 +308,7 @@ enable_cmake-utils_src_configure() { local libdir=$(get_libdir) cat > "${common_config}" <<- _EOF_ SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) + SET (CMAKE_INSTALL_LIBDIR ${libdir} CACHE PATH "Output directory for libraries") _EOF_ [[ -n ${NOCOLOR} ]] || echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" |