From c5fc0b3ac814b599c161fcc93e62e9a267c86662 Mon Sep 17 00:00:00 2001 From: Andrew Krasavin Date: Tue, 28 Dec 2021 09:36:06 +0300 Subject: [PATCH] Disable cmake/{libabsl,libopenh264,libusrsctp,libvpx,libyuv}.cmake for packaged builds --- CMakeLists.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29d5ccf0..e60d5cd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,14 +77,16 @@ include(cmake/init_target.cmake) include(cmake/generate_target.cmake) include(cmake/target_yasm_sources.cmake) include(cmake/external.cmake) -include(cmake/libabsl.cmake) -include(cmake/libopenh264.cmake) include(cmake/libpffft.cmake) include(cmake/librnnoise.cmake) include(cmake/libsrtp.cmake) -include(cmake/libusrsctp.cmake) -include(cmake/libvpx.cmake) -include(cmake/libyuv.cmake) +if (NOT TG_OWT_PACKAGED_BUILD) + include(cmake/libabsl.cmake) + include(cmake/libopenh264.cmake) + include(cmake/libusrsctp.cmake) + include(cmake/libvpx.cmake) + include(cmake/libyuv.cmake) +endif() if (APPLE) include(cmake/libsdkmacos.cmake) endif()