Navigation


Changeset 814:84bdbd87cbd5 in freeDiameter


Ignore:
Timestamp:
Aug 26, 2012, 5:24:53 AM (12 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Patch for systems that use lib64 instead of lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r813 r814  
    2929SET(DEFAULT_CONF_PATH ${CMAKE_INSTALL_PREFIX}/etc/freeDiameter CACHE PATH "Default location of freeDiameter configuration files")
    3030
     31IF (NOT DEFINED LIB_INSTALL_DIR)
     32SET(LIB_INSTALL_DIR lib CACHE PATH "Default library path name on the system, to accomodate RPM-based systems that use lib64")
     33ENDIF (NOT DEFINED LIB_INSTALL_DIR)
     34
    3135SET(INSTALL_HEADERS_SUFFIX              include/freeDiameter    CACHE PATH "Directory where the headers are installed (relative to CMAKE_INSTALL_PREFIX).")
    3236SET(INSTALL_DAEMON_SUFFIX               bin                     CACHE PATH "Directory where the daemon binary is installed (relative to CMAKE_INSTALL_PREFIX).")
    33 SET(INSTALL_LIBRARY_SUFFIX              lib                     CACHE PATH "Directory where the freeDiameter libraries are installed (relative to CMAKE_INSTALL_PREFIX).")
    34 SET(INSTALL_EXTENSIONS_SUFFIX   ${INSTALL_LIBRARY_SUFFIX}/freeDiameter  CACHE PATH "Directory where the extensions are installed / searched (relative to CMAKE_INSTALL_PREFIX).")
     37SET(INSTALL_LIBRARY_SUFFIX              ${LIB_INSTALL_DIR}                      CACHE PATH "Directory where the freeDiameter libraries are installed (relative to CMAKE_INSTALL_PREFIX).")
     38SET(INSTALL_EXTENSIONS_SUFFIX   ${LIB_INSTALL_DIR}/freeDiameter CACHE PATH "Directory where the extensions are installed / searched (relative to CMAKE_INSTALL_PREFIX).")
    3539
    3640# All source code should be POSIX 200112L compatible, but some other extensions might be used, so:
Note: See TracChangeset for help on using the changeset viewer.