libunistring: Update from 0.9.6 to 0.9.7
[termux-packages] / packages / libx265 / source-CMakeLists.txt.patch
CommitLineData
bc97f0d8
FF
1diff -u -r ../x265_2.2/source/CMakeLists.txt ./source/CMakeLists.txt
2--- ../x265_2.2/source/CMakeLists.txt 2016-12-23 00:57:39.000000000 -0500
3+++ ./source/CMakeLists.txt 2017-01-03 18:42:19.823674722 -0500
4@@ -80,7 +80,10 @@
5 endif()
6
7 if(UNIX)
8- list(APPEND PLATFORM_LIBS pthread)
9+ find_library(LIBPTHREAD pthread)
10+ if(LIBPTHREAD)
11+ list(APPEND PLATFORM_LIBS pthread)
12+ endif()
13 find_library(LIBRT rt)
14 if(LIBRT)
15 list(APPEND PLATFORM_LIBS rt)