diff options
author | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-15 15:48:52 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-15 15:48:52 +0100 |
commit | 04bf4380b30b58252d1d2aab75a9dcc5c084c831 (patch) | |
tree | a33ce52d5b71f49c75bc7de3f9549d6257b259e1 /CMakeLists.txt | |
parent | ceaea65296a9cb6e2235b0dd429ab3d590b634d3 (diff) | |
parent | 7ca8145790db15d7da3c2f1b260ad3421993b67c (diff) | |
download | ouroboros-04bf4380b30b58252d1d2aab75a9dcc5c084c831.tar.gz ouroboros-04bf4380b30b58252d1d2aab75a9dcc5c084c831.zip |
Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into b-du_buff
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1041197c..243e5d6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,15 @@ set(PACKAGE_BUGREPORT "None" set(PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}" CACHE STRING "Package version") +SET(CMAKE_SKIP_BUILD_RPATH FALSE) +SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + +LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) +IF("${isSystemDir}" STREQUAL "-1") + SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") +ENDIF("${isSystemDir}" STREQUAL "-1") + message(STATUS "Package name is: ${PACKAGE_NAME}") message(STATUS "Package description is: ${PACKAGE_DESCRIPTION}") message(STATUS "Package version is: ${PACKAGE_VERSION}") |