<div dir="ltr">Pushed to the release_4.1 branch<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2024 at 11:28 AM Ponsanthini Arunachalam <<a href="mailto:ponsanthini.arunachalam@multicorewareinc.com">ponsanthini.arunachalam@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">From 23583e2e31b1f4dba4ab407b50f90e33c9cca506 Mon Sep 17 00:00:00 2001<br>From: Ponsanthini <<a href="mailto:ponsanthini.arunachalam@multicorewareinc.com" target="_blank">ponsanthini.arunachalam@multicorewareinc.com</a>><br>Date: Tue, 15 Oct 2024 16:55:50 +0000<br>Subject: [PATCH] Fix shared/dynamic libs and pkg-config installation issue<br><br>---<br> source/CMakeLists.txt | 4 ++--<br> 1 file changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt<br>index 8a3128bb7..e333b47c0 100755<br>--- a/source/CMakeLists.txt<br>+++ b/source/CMakeLists.txt<br>@@ -855,7 +855,7 @@ if(ENABLE_SHARED)<br> endif()<br> endif()<br> set_target_properties(x265-shared PROPERTIES SOVERSION ${X265_BUILD})<br>- if(X265_LATEST_TAG)<br>+ if(X265_LATEST_TAG OR EXISTS "${PROJECT_BINARY_DIR}/x265")<br> if(WINDOWS)<br> set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG})<br> endif()<br>@@ -877,7 +877,7 @@ if(ENABLE_SHARED)<br> endif()<br> endif()<br> <br>-if(X265_LATEST_TAG)<br>+if(X265_LATEST_TAG OR EXISTS "${PROJECT_BINARY_DIR}/x265")<br> # convert lists of link libraries into -lstdc++ -lm etc..<br> foreach(LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES} ${PLATFORM_LIBS})<br> if(IS_ABSOLUTE ${LIB} AND EXISTS ${LIB})<br>-- <br>2.39.3 (Apple Git-146)<br><br></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>