Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:regataos
openlibx5
x265_fix-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x265_fix-install.patch of Package openlibx5
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index a407271b4..cb5a81792 100755 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -669,7 +669,7 @@ if(ENABLE_SHARED) endif() endif() set_target_properties(x265-shared PROPERTIES SOVERSION ${X265_BUILD}) - if(X265_LATEST_TAG) + if(WINDOWS) set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG}) endif() @@ -678,7 +678,7 @@ if(ENABLE_SHARED) LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} RUNTIME DESTINATION ${BIN_INSTALL_DIR}) - endif() + if(ENABLE_HDR10_PLUS) install(TARGETS hdr10plus-shared LIBRARY DESTINATION ${LIB_INSTALL_DIR} @@ -691,7 +691,7 @@ if(ENABLE_SHARED) endif() endif() -if(X265_LATEST_TAG) + # convert lists of link libraries into -lstdc++ -lm etc.. foreach(LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES} ${PLATFORM_LIBS}) if(IS_ABSOLUTE ${LIB} AND EXISTS ${LIB}) @@ -714,7 +714,7 @@ if(X265_LATEST_TAG) configure_file("x265.pc.in" "x265.pc" @ONLY) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/x265.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig") -endif() + configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake/cmake_uninstall.cmake"
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