[x265] [PATCH] cmake: fix test bench builds following static lib reorg

Steve Borho steve at borho.org
Fri Sep 13 08:36:38 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1379054183 18000
#      Fri Sep 13 01:36:23 2013 -0500
# Node ID a169f5d44034d8cf54d1cad7de8e15a594853f08
# Parent  42faf1cb4d7b1cf6b0323fa4abc82a31c8eed270
cmake: fix test bench builds following static lib reorg

diff -r 42faf1cb4d7b -r a169f5d44034 source/test/CMakeLists.txt
--- a/source/test/CMakeLists.txt	Fri Sep 13 01:28:52 2013 -0500
+++ b/source/test/CMakeLists.txt	Fri Sep 13 01:36:23 2013 -0500
@@ -8,7 +8,7 @@
 option(ENABLE_TEST_THREADPOOL "Enable thread pool unit test" OFF)
 if(ENABLE_TEST_THREADPOOL)
     add_executable(PoolTest testpool.cpp)
-    target_link_libraries(PoolTest common ${PLATFORM_LIBS})
+    target_link_libraries(PoolTest x265 ${PLATFORM_LIBS})
 endif()
 
 add_executable(TestBench
@@ -18,4 +18,4 @@
     ipfilterharness.cpp ipfilterharness.h
     intrapredharness.cpp intrapredharness.h)
 
-target_link_libraries(TestBench common ${PLATFORM_LIBS})
+target_link_libraries(TestBench x265 ${PLATFORM_LIBS})


More information about the x265-devel mailing list