/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.74 Revision 1.75
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.74 2011/08/27 20:30:39 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.75 2011/08/29 01:28:10 vapier Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
31# Specify the minimum required CMake version. Default is 2.8.4 31# Specify the minimum required CMake version. Default is 2.8.4
32CMAKE_MIN_VERSION="${CMAKE_MIN_VERSION:-2.8.4}" 32CMAKE_MIN_VERSION="${CMAKE_MIN_VERSION:-2.8.4}"
33 33
34# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST 34# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST
35# @DESCRIPTION: 35# @DESCRIPTION:
36# Space-separated list of CMake modules that will be removed in $S during src_prepare, 36# Space-separated list of CMake modules that will be removed in $S during src_prepare,
37# in order to force packages to use the system version. 37# in order to force packages to use the system version.
38CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST:-FindBLAS FindLAPACK}" 38CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST:-FindBLAS FindLAPACK}"
39 39
40# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES 40# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES
41# @DESCRIPTION: 41# @DESCRIPTION:
332 ELSE () 332 ELSE ()
333 333
334 SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX:-/usr}" CACHE STRING ""FORCE) 334 SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX:-/usr}" CACHE STRING ""FORCE)
335 SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE) 335 SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE)
336 SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) 336 SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE)
337 SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "" FORCE) 337 SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "" FORCE)
338 SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX:-/usr}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE) 338 SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX:-/usr}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE)
339 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE) 339 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE)
340 SET(CMAKE_INSTALL_NAME_DIR "${EPREFIX}${PREFIX:-/usr}/lib" CACHE STRING "" FORCE) 340 SET(CMAKE_INSTALL_NAME_DIR "${EPREFIX}${PREFIX:-/usr}/lib" CACHE STRING "" FORCE)
341 341
342 ENDIF (NOT APPLE) 342 ENDIF (NOT APPLE)

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

  ViewVC Help
Powered by ViewVC 1.1.20