diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-12-11 10:50:48 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-12-11 10:50:48 -0800 |
commit | b418328083db09f430e2e93e603d16ce7bca3e20 (patch) | |
tree | 23386c307c983eb376540ca7419801e6ae90dcad /indra/test_apps | |
parent | 60e6fa139e8056288514cfa7276eee9133953de9 (diff) |
When building llmediaplugintest on the mac, copy the llcommon dylib so it can actually run.
Diffstat (limited to 'indra/test_apps')
-rw-r--r-- | indra/test_apps/llplugintest/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/test_apps/llplugintest/CMakeLists.txt b/indra/test_apps/llplugintest/CMakeLists.txt index 0011daaec6..20ae1be1a2 100644 --- a/indra/test_apps/llplugintest/CMakeLists.txt +++ b/indra/test_apps/llplugintest/CMakeLists.txt @@ -338,6 +338,13 @@ add_custom_command(TARGET llmediaplugintest POST_BUILD DEPENDS ${BUILT_SLPLUGIN} ) +get_target_property(BUILT_LLCOMMON llcommon LOCATION) +add_custom_command(TARGET llmediaplugintest POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${BUILT_LLCOMMON} ${PLUGINS_DESTINATION_DIR} + DEPENDS ${BUILT_LLCOMMON} +) + + if (DARWIN OR WINDOWS) get_target_property(BUILT_WEBKIT_PLUGIN media_plugin_webkit LOCATION) add_custom_command(TARGET llmediaplugintest POST_BUILD |