diff options
author | Rider Linden <rider@lindenlab.com> | 2016-03-07 10:24:39 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2016-03-07 10:24:39 -0800 |
commit | d51a5a615ab4c1c52b4e8c2eaa1f88bf785f3f66 (patch) | |
tree | cb22850d39b2ac4240279c1b7b6c0bb70248de70 /indra/media_plugins | |
parent | 6a20679c683f8da7888e7569a6e3f96eb6ba7a15 (diff) | |
parent | 8c7a8bdc4a795a158dc8a47928245b0dd74df3f5 (diff) |
Merge
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/cef/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/CMakeLists.txt b/indra/media_plugins/cef/CMakeLists.txt index 07b5af819e..db471c7906 100644 --- a/indra/media_plugins/cef/CMakeLists.txt +++ b/indra/media_plugins/cef/CMakeLists.txt @@ -113,4 +113,12 @@ if (DARWIN) LINK_FLAGS "-exported_symbols_list ${CMAKE_CURRENT_SOURCE_DIR}/../base/media_plugin_base.exp" ) + add_custom_command(TARGET media_plugin_cef + POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change "@executable_path/Chromium Embedded Framework" + "@executable_path/../../../../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" + "$<TARGET_FILE:media_plugin_cef>" + VERBATIM + COMMENT "Fixing path to CEF Framework" + ) + endif (DARWIN) |