[x265] [PATCH] cmake: Use PARENT_SCOPE instead of CACHE to export PLATFORM_LIBS
Pradeep Ramachandran
pradeep at multicorewareinc.com
Tue Mar 15 12:28:08 CET 2016
# HG changeset patch
# User Pradeep Ramachandran <pradeep at multicorewareinc.com>
# Date 1458041280 -19800
# Tue Mar 15 16:58:00 2016 +0530
# Node ID e166d9690442a21eac9d0672c1b1729bff7f5996
# Parent 4a2f94a592511afabd434fc6cf02a469b6d65091
cmake: Use PARENT_SCOPE instead of CACHE to export PLATFORM_LIBS
diff -r 4a2f94a59251 -r e166d9690442 source/CMakeLists.txt
--- a/source/CMakeLists.txt Wed Mar 09 14:34:06 2016 +0530
+++ b/source/CMakeLists.txt Tue Mar 15 16:58:00 2016 +0530
@@ -618,5 +618,5 @@
endif()
endif()
-set(PLATFORM_LIBS ${PLATFORM_LIBS} CACHE LIST "List of platform libraries from
-x265")
+LIST(REMOVE_DUPLICATES PLATFORM_LIBS)
+set(PLATFORM_LIBS ${PLATFORM_LIBS} PARENT_SCOPE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 709 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160315/3e4cf3bd/attachment.bin>
More information about the x265-devel
mailing list