Explorar o código

cmake: Copy libdatachannel DLL

Copy libdatachannel DLL whether it's compiled on MSVC (and named
datachannel.dll) or cross-compiled on MinGW (and named
libdatachannel.dll).

Signed-off-by: pkv <[email protected]>
pkv %!s(int64=2) %!d(string=hai) anos
pai
achega
ce6a17e979
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      cmake/Modules/CopyMSVCBins.cmake

+ 2 - 2
cmake/Modules/CopyMSVCBins.cmake

@@ -88,8 +88,8 @@ file(
   "${FFMPEG_avcodec_INCLUDE_DIR}/../bin${_bin_suffix}/zlib*.dll"
   "${FFMPEG_avcodec_INCLUDE_DIR}/bin${_bin_suffix}/libbz2*.dll"
   "${FFMPEG_avcodec_INCLUDE_DIR}/bin${_bin_suffix}/zlib*.dll"
-  "${FFMPEG_avcodec_INCLUDE_DIR}/../bin/libdatachannel*.dll"
-  "${FFMPEG_avcodec_INCLUDE_DIR}/bin/libdatachannel*.dll")
+  "${FFMPEG_avcodec_INCLUDE_DIR}/../bin/*datachannel*.dll"
+  "${FFMPEG_avcodec_INCLUDE_DIR}/bin/*datachannel*.dll")
 
 file(GLOB X264_BIN_FILES "${X264_INCLUDE_DIR}/../bin${_bin_suffix}/libx264-*.dll"
      "${X264_INCLUDE_DIR}/../bin/libx264-*.dll" "${X264_INCLUDE_DIR}/bin/libx264-*.dll"