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()