/[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.103 Revision 1.106
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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.103 2014/02/08 01:42:44 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.106 2014/03/26 13:12:39 kensington 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:
455 SET (CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" 455 SET (CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)"
456 CACHE STRING "" FORCE) 456 CACHE STRING "" FORCE)
457 457
458 ELSE () 458 ELSE ()
459 459
460 SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX}" CACHE STRING ""FORCE) 460 SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX}" CACHE STRING "" FORCE)
461 SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE) 461 SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE)
462 SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) 462 SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE)
463 SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "") 463 SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "")
464 SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE) 464 SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE)
465 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE) 465 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE)
590 debug-print-function ${FUNCNAME} "$@" 590 debug-print-function ${FUNCNAME} "$@"
591 591
592 _check_build_dir 592 _check_build_dir
593 pushd "${BUILD_DIR}" >/dev/null 593 pushd "${BUILD_DIR}" >/dev/null
594 594
595 ${CMAKE_MAKEFILE_GENERATOR}_src_make $@ 595 ${CMAKE_MAKEFILE_GENERATOR}_src_make "$@"
596 596
597 popd >/dev/null 597 popd >/dev/null
598} 598}
599 599
600enable_cmake-utils_src_install() { 600enable_cmake-utils_src_install() {

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.106

  ViewVC Help
Powered by ViewVC 1.1.20