Ignore:
Timestamp:
Jan 7, 2016, 12:46:50 PM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
f584d30
Parents:
1bebe88
Message:

Refs #1860
Se incorpora un RPATH a los binarios en Linux para que localicen las librerías sin necesidad de ejecutar un script estableciendo LD_LIBRARY_PATH.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7171 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toltcl/generic/CMakeLists.txt

    r1bebe88 r0463dc72  
    99message( STATUS "Using TCL_LIBRARY = ${TCL_LIBRARY}" )
    1010
     11if( UNIX )
     12  SET(CMAKE_INSTALL_RPATH "$ORIGIN/..")
     13endif( UNIX )
    1114add_library( toltcl SHARED
    1215  crash.c toltcl.c pool.cpp tclutils.cpp tolaccess.cpp tolsergrp.cpp
    … …  
    2730endif( WIN32 )
    2831
     32if( UNIX )
     33  SET(CMAKE_INSTALL_RPATH "$ORIGIN/../lib")
     34endif( UNIX )
    2935add_executable( tolsh tolsh.c )
    3036if( WIN32 )
Note: See TracChangeset for help on using the changeset viewer.