summaryrefslogtreecommitdiff
path: root/UnityCore
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-11-30 12:03:37 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-11-30 12:03:37 +0100
commit70f41d1117d597aab84fce3dcad09ac4519ebcc4 (patch)
treed23ca785b250b4dd97c58090f2c6caa44bd19442 /UnityCore
parentecb543e3fb9f17f3f5d3936008095eb9073d4f11 (diff)
UnityCore: build library with install rpath too
(bzr r4209.1.4)
Diffstat (limited to 'UnityCore')
-rw-r--r--UnityCore/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/UnityCore/CMakeLists.txt b/UnityCore/CMakeLists.txt
index 0693f7e67..9aad8c6b9 100644
--- a/UnityCore/CMakeLists.txt
+++ b/UnityCore/CMakeLists.txt
@@ -145,7 +145,8 @@ target_link_libraries (${CORE_LIB_NAME} ${LIBS})
set_target_properties(${CORE_LIB_NAME} PROPERTIES
VERSION ${CORE_LIB_LT_CURRENT}.${CORE_LIB_LT_REV}.${CORE_LIB_LT_AGE}
SOVERSION ${CORE_LIB_LT_CURRENT}
- INSTALL_RPATH "${PRIVATE_CORE_DEPS_LIBRARY_DIRS}")
+ INSTALL_RPATH "${PRIVATE_CORE_DEPS_LIBRARY_DIRS}"
+ BUILD_WITH_INSTALL_RPATH TRUE)
add_pch(pch/unitycore_pch.hh ${CORE_LIB_NAME})
install (TARGETS ${CORE_LIB_NAME}