Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
multimedia:libs
libwebm
0002-Build-install-libwebm-tools.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Build-install-libwebm-tools.patch of Package libwebm
Author: Vasyl Gello <vasek.gello@gmail.com> Subject: Build and install system tools Date: 2020-11-12 18:10:00 EET Forwarded: not-needed --- --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,9 +349,21 @@ add_executable(vttdemux ${vttdemux_sources}) target_link_libraries(vttdemux LINK_PUBLIC webm) +install(TARGETS dumpvtt vttdemux + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/webm) + if (ENABLE_WEBMINFO) add_executable(webm_info ${webm_info_sources}) target_link_libraries(webm_info LINK_PUBLIC webm) + + install(TARGETS webm_info + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/webm) endif () if (ENABLE_WEBM_PARSER) @@ -379,6 +391,12 @@ add_executable(webm2ts ${webm2ts_sources} $<TARGET_OBJECTS:webmts>) target_link_libraries(webm2ts LINK_PUBLIC webm) + + install(TARGETS webm2pes webm2ts + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/webm) endif () if (ENABLE_TESTS) @@ -401,27 +419,27 @@ select_library_configurations(GTEST) add_executable(mkvmuxer_tests ${mkvmuxer_tests_sources}) - target_link_libraries(mkvmuxer_tests LINK_PUBLIC gtest webm) + target_link_libraries(mkvmuxer_tests LINK_PUBLIC gtest webm atomic pthread) add_executable(mkvparser_tests ${mkvparser_tests_sources}) - target_link_libraries(mkvparser_tests LINK_PUBLIC gtest webm) + target_link_libraries(mkvparser_tests LINK_PUBLIC gtest webm atomic pthread) add_executable(vp9_header_parser_tests ${vp9_header_parser_tests_sources}) - target_link_libraries(vp9_header_parser_tests LINK_PUBLIC gtest webm) + target_link_libraries(vp9_header_parser_tests LINK_PUBLIC gtest webm atomic pthread) add_executable(vp9_level_stats_tests ${vp9_level_stats_tests_sources}) - target_link_libraries(vp9_level_stats_tests LINK_PUBLIC gtest webm) + target_link_libraries(vp9_level_stats_tests LINK_PUBLIC gtest webm atomic pthread) if (ENABLE_WEBMTS) add_executable(webm2pes_tests ${webm2pes_tests_sources} $<TARGET_OBJECTS:webmts>) - target_link_libraries(webm2pes_tests LINK_PUBLIC gtest webm) + target_link_libraries(webm2pes_tests LINK_PUBLIC gtest webm atomic pthread) endif () if (ENABLE_WEBM_PARSER) include_directories("${GTEST_SRC_DIR}/googlemock/include") add_executable(webm_parser_tests ${webm_parser_tests_sources}) - target_link_libraries(webm_parser_tests LINK_PUBLIC gmock gtest webm) + target_link_libraries(webm_parser_tests LINK_PUBLIC gmock gtest webm atomic pthread) endif () endif ()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor