[x265] [PATCH 1 of 6] cmake: use list append for numa lib (nit)

Steve Borho steve at borho.org
Fri Mar 6 18:07:18 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1425660531 21600
#      Fri Mar 06 10:48:51 2015 -0600
# Node ID c3d888d55f882a7f4c7f2a444c49d7f303a7f8ac
# Parent  e0603bbe919fa9823e744691876d98002363eefa
cmake: use list append for numa lib (nit)

diff -r e0603bbe919f -r c3d888d55f88 source/CMakeLists.txt
--- a/source/CMakeLists.txt	Fri Mar 06 12:13:48 2015 +0530
+++ b/source/CMakeLists.txt	Fri Mar 06 10:48:51 2015 -0600
@@ -63,7 +63,7 @@
         if(NUMA_V2)
             add_definitions(-DHAVE_LIBNUMA)
             message(STATUS "libnuma found, building with support for NUMA nodes")
-            set(PLATFORM_LIBS ${PLATFORM_LIBS} ${NUMA_LIBRARY})
+            list(APPEND PLATFORM_LIBS ${NUMA_LIBRARY})
             link_directories(${NUMA_LIBRARY_DIR})
             include_directories(${NUMA_INCLUDE_DIR})
         endif()


More information about the x265-devel mailing list