From 7ecb22ead64e39b816ba4e35d0930c0831d40b6e Mon Sep 17 00:00:00 2001 From: Martin Mllenhaupt Date: Fri, 3 Feb 2017 09:37:44 +0100 Subject: [PATCH] fix linkings errors by adding compiled assembly files --- Targets/libwebrtc/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Targets/libwebrtc/CMakeLists.txt b/Targets/libwebrtc/CMakeLists.txt index 4788496..2832f64 100644 --- a/Targets/libwebrtc/CMakeLists.txt +++ b/Targets/libwebrtc/CMakeLists.txt @@ -18,6 +18,13 @@ endif () file(GLOB_RECURSE LIBWEBRTC_OBJ_FILES ${LIBWEBRTC_OUTPUT_DIR}/obj/*.${LIBWEBRTC_OBJ_EXT}) +# capture the assembly compile outputs of libvpx_yasm.lib and other third_party libs +if (WIN32) + file(GLOB_RECURSE LIBWEBRTC_O_FILES + ${LIBWEBRTC_OUTPUT_DIR}/obj/*.o) + list(APPEND LIBWEBRTC_OBJ_FILES ${LIBWEBRTC_O_FILES}) +endif() + file(GLOB_RECURSE LIBWEBRTC_OBJ_EXCLUDED ${LIBWEBRTC_OUTPUT_DIR}/obj/third_party/yasm/gen*/*.${LIBWEBRTC_OBJ_EXT} ${LIBWEBRTC_OUTPUT_DIR}/obj/third_party/yasm/re2c/*.${LIBWEBRTC_OBJ_EXT}