diff options
author | Henry Hu <henry.hu.sh@gmail.com> | 2021-07-22 03:30:40 +0800 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-07-22 03:30:40 +0800 |
commit | b11d4ccc1a10d149b6185c72342bdbccfd1eb730 (patch) | |
tree | 8b5bce5c15c6dabc06ca06b9f9ab4357b849e5bf /net-im/tg_owt/files/patch-cmake_external.cmake | |
parent | audio/mixxx: Remove deprecated option (diff) |
net-im/tg_owt: Update to 0.0.20210718
* The build system is more friendly to users of system libraries.
* Better use the included libabsl for compatibility
PR: 257289
Diffstat (limited to 'net-im/tg_owt/files/patch-cmake_external.cmake')
-rw-r--r-- | net-im/tg_owt/files/patch-cmake_external.cmake | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/net-im/tg_owt/files/patch-cmake_external.cmake b/net-im/tg_owt/files/patch-cmake_external.cmake index 8d3d5c8d1fa8..820b2709d5be 100644 --- a/net-im/tg_owt/files/patch-cmake_external.cmake +++ b/net-im/tg_owt/files/patch-cmake_external.cmake @@ -1,16 +1,11 @@ ---- cmake/external.cmake.orig 2021-02-03 11:42:41 UTC +--- cmake/external.cmake.orig 2021-06-27 05:27:48 UTC +++ cmake/external.cmake -@@ -141,3 +141,13 @@ function(link_x11 target_name) - target_link_libraries(${target_name} PRIVATE ${X11_Xtst_LIB}) - endif() - endfunction() -+ -+# usrsctp -+function(link_usrsctp target_name) -+ if (TG_OWT_PACKAGED_BUILD) -+ find_package(PkgConfig REQUIRED) -+ pkg_check_modules(USRSCTP REQUIRED usrsctp) -+ target_include_directories(${target_name} PRIVATE ${USRSCTP_INCLUDE_DIRS}) -+ target_link_libraries(${target_name} PRIVATE ${USRSCTP_LINK_LIBRARIES}) -+ endif() -+endfunction() +@@ -109,7 +109,7 @@ endfunction() + # libabsl + # HINT: System abseil should be built with -DCMAKE_CXX_STANDARD=17 + function(link_libabsl target_name) +- if (TG_OWT_PACKAGED_BUILD) ++ if (0) + find_package(absl) + set(absl_FOUND ${absl_FOUND} PARENT_SCOPE) + if (absl_FOUND) |