blob: 6c85829ee22d8bf9beee9db8d3559beb8643a12a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Tests run against static library (upstream build system):
We build main as both shared & static, main10 & 12 are static only and linked into main.
All need PLATFORM_LIBS, so instruct cmake to also link them.
Index: source/CMakeLists.txt
===================================================================
--- source.orig/CMakeLists.txt
+++ source/CMakeLists.txt
@@ -578,6 +578,7 @@ endif()
if(SVTHEVC_FOUND)
target_link_libraries(x265-static ${SVT_HEVC_LIBRARY})
endif()
+target_link_libraries(x265-static ${PLATFORM_LIBS})
install(TARGETS x265-static
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
|