diff options
author | Dimitri Staessens <[email protected]> | 2016-03-15 15:48:28 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2016-03-15 15:48:28 +0100 |
commit | 7ca8145790db15d7da3c2f1b260ad3421993b67c (patch) | |
tree | 168c30a3090d14c654967d0942b4718cd4a979a9 /CMakeLists.txt | |
parent | 74dc5818ac8586fcc36915874592c9f4fbb4e6f6 (diff) | |
parent | bd7a8ea8a1adbd6763aea857e72623929b7ad7a4 (diff) | |
download | ouroboros-7ca8145790db15d7da3c2f1b260ad3421993b67c.tar.gz ouroboros-7ca8145790db15d7da3c2f1b260ad3421993b67c.zip |
Merged in sandervrijders/ouroboros/be-ipcp (pull request #31)
irmd, lib: Create and destroy IPC Processes
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}") |