diff options
author | Jacek Antonelli | 2010-11-14 01:53:28 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-11-14 02:08:26 -0600 |
commit | 8eff9a80f57e6fc2149a97f818ec0330443715ca (patch) | |
tree | 17e3a44aceff376b0969bc3b1787205adf2e2fff /linden/indra/llcommon/CMakeLists.txt | |
parent | Mac SLPlugin.app needs symlinks to some libs. (diff) | |
download | meta-impy-8eff9a80f57e6fc2149a97f818ec0330443715ca.zip meta-impy-8eff9a80f57e6fc2149a97f818ec0330443715ca.tar.gz meta-impy-8eff9a80f57e6fc2149a97f818ec0330443715ca.tar.bz2 meta-impy-8eff9a80f57e6fc2149a97f818ec0330443715ca.tar.xz |
Use proper install_name for Mac libllcommon.
Diffstat (limited to 'linden/indra/llcommon/CMakeLists.txt')
-rw-r--r-- | linden/indra/llcommon/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/llcommon/CMakeLists.txt b/linden/indra/llcommon/CMakeLists.txt index 5d590a9..ff1d548 100644 --- a/linden/indra/llcommon/CMakeLists.txt +++ b/linden/indra/llcommon/CMakeLists.txt | |||
@@ -203,3 +203,12 @@ target_link_libraries( | |||
203 | ${WINDOWS_LIBRARIES} | 203 | ${WINDOWS_LIBRARIES} |
204 | ) | 204 | ) |
205 | 205 | ||
206 | if (DARWIN) | ||
207 | # don't embed a full path in the library's install name | ||
208 | set_target_properties( | ||
209 | llcommon | ||
210 | PROPERTIES | ||
211 | BUILD_WITH_INSTALL_RPATH 1 | ||
212 | INSTALL_NAME_DIR "@executable_path/../Resources" | ||
213 | ) | ||
214 | endif (DARWIN) | ||