changeset 12491:a41325fc854f draft

Integrate SVT-HEVC Encoder with X265, Fixing Linux Segmentation fault issue
author Dinesh<dinesh@multicorewareinc.com>
date Tue, 19 Feb 2019 14:26:58 +0530
parents 878541319ea1
children cb3e172a5f51
files source/CMakeLists.txt
diffstat 1 files changed, 2 insertions(+-), 1 deletions(-) [+]
line wrap: on
line diff
--- a/source/CMakeLists.txt	Thu Feb 14 11:06:36 2019 +0530
+++ b/source/CMakeLists.txt	Tue Feb 19 14:26:58 2019 +0530
@@ -628,8 +628,9 @@ if(ENABLE_SHARED)
     if(EXTRA_LIB)
         target_link_libraries(x265-shared ${EXTRA_LIB})
     endif()
+	 target_link_libraries(x265-shared ${PLATFORM_LIBS})
     if(SVTHEVC_FOUND)
-        target_link_libraries(x265-shared ${PLATFORM_LIBS} ${SVT_HEVC_LIBRARY})
+        target_link_libraries(x265-shared ${SVT_HEVC_LIBRARY})
     endif(SVTHEVC_FOUND)
     if(MSVC)
         set_target_properties(x265-shared PROPERTIES OUTPUT_NAME libx265)