CELIX-77: Added rpath info for utils tests
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/dfafb46c Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/dfafb46c Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/dfafb46c Branch: refs/heads/feature/CELIX-335_deploy_refactoring Commit: dfafb46cd83fab1f0ee7052b0cf9e402f34d6908 Parents: 8bfb61f Author: Pepijn Noltes <pepijnnol...@gmail.com> Authored: Thu Jan 7 12:03:30 2016 +0100 Committer: Pepijn Noltes <pepijnnol...@gmail.com> Committed: Thu Jan 7 12:03:30 2016 +0100 ---------------------------------------------------------------------- utils/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/dfafb46c/utils/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 29d797f..bdf584d 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -68,6 +68,11 @@ if (UTILS) if (ENABLE_TESTING AND UTILS-TESTS) find_package(CppUTest REQUIRED) + SET(CMAKE_SKIP_BUILD_RPATH FALSE) + SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) + SET(CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/utils") + + include_directories(${CUNIT_INCLUDE_DIRS}) include_directories(${CPPUTEST_INCLUDE_DIR}) include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")