diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/CMakeLists.txt | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/linden/indra/newview/CMakeLists.txt b/linden/indra/newview/CMakeLists.txt index 3dabb3b..8b1d59a 100644 --- a/linden/indra/newview/CMakeLists.txt +++ b/linden/indra/newview/CMakeLists.txt | |||
@@ -1336,7 +1336,7 @@ if (WINDOWS) | |||
1336 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1336 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1337 | ) | 1337 | ) |
1338 | 1338 | ||
1339 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1339 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer) |
1340 | 1340 | ||
1341 | if (PACKAGE) | 1341 | if (PACKAGE) |
1342 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) | 1342 | add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) |
@@ -1456,7 +1456,7 @@ if (DARWIN) | |||
1456 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1456 | DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1457 | ) | 1457 | ) |
1458 | 1458 | ||
1459 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1459 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer010) |
1460 | 1460 | ||
1461 | if (PACKAGE) | 1461 | if (PACKAGE) |
1462 | add_custom_target(package ALL DEPENDS ${VIEWER_BINARY_NAME}) | 1462 | add_custom_target(package ALL DEPENDS ${VIEWER_BINARY_NAME}) |
@@ -1481,7 +1481,7 @@ if (DARWIN) | |||
1481 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py | 1481 | ${CMAKE_CURRENT_SOURCE_DIR}/viewer_manifest.py |
1482 | ) | 1482 | ) |
1483 | 1483 | ||
1484 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit) | 1484 | add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_quicktime media_plugin_webkit media_plugin_gstreamer010) |
1485 | add_custom_command( | 1485 | add_custom_command( |
1486 | TARGET package POST_BUILD | 1486 | TARGET package POST_BUILD |
1487 | COMMAND ${PYTHON_EXECUTABLE} | 1487 | COMMAND ${PYTHON_EXECUTABLE} |
@@ -1534,7 +1534,19 @@ if (WINDOWS) | |||
1534 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin | 1534 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin |
1535 | COMMENT "Copying WebKit Plugin to the runtime folder." | 1535 | COMMENT "Copying WebKit Plugin to the runtime folder." |
1536 | ) | 1536 | ) |
1537 | 1537 | ||
1538 | get_target_property(BUILT_GSTREAMER_PLUGIN media_plugin_gstreamer010 LOCATION) | ||
1539 | add_custom_command( | ||
1540 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD | ||
1541 | COMMAND ${CMAKE_COMMAND} | ||
1542 | ARGS | ||
1543 | -E | ||
1544 | copy_if_different | ||
1545 | ${BUILT_GSTREAMER_PLUGIN} | ||
1546 | ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/llplugin | ||
1547 | COMMENT "Copying Gstreamer Plugin to the runtime folder." | ||
1548 | ) | ||
1549 | |||
1538 | get_target_property(BUILT_QUICKTIME_PLUGIN media_plugin_quicktime LOCATION) | 1550 | get_target_property(BUILT_QUICKTIME_PLUGIN media_plugin_quicktime LOCATION) |
1539 | add_custom_command( | 1551 | add_custom_command( |
1540 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD | 1552 | TARGET ${VIEWER_BINARY_NAME} POST_BUILD |