Since ee1b2f53cc the ffmpeg libraries for Windows x64 are built effectively
without CPU specific SIMD optimizations. `--arch=x64` is not an architecture
that ffmpeg configure understands, so it falls back to "nothing is known,
turn any architecture specific bits off" code path.
Pull Request: https://projects.blender.org/blender/blender/pulls/126396
28 lines
599 B
CMake
28 lines
599 B
CMake
# SPDX-FileCopyrightText: 2020-2024 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
if(WITH_GTESTS)
|
|
set(TEST_SRC
|
|
tests/ffmpeg_codecs.cc
|
|
tests/ffmpeg_cpu_flags.cc
|
|
)
|
|
set(TEST_INC
|
|
.
|
|
)
|
|
set(TEST_INC_SYS
|
|
${FFMPEG_INCLUDE_DIRS}
|
|
${PNG_INCLUDE_DIRS}
|
|
${ZLIB_INCLUDE_DIRS}
|
|
)
|
|
set(TEST_LIB
|
|
${PNG_LIBRARIES}
|
|
${FFMPEG_LIBRARIES}
|
|
${ZLIB_LIBRARIES}
|
|
)
|
|
if(WITH_IMAGE_OPENJPEG)
|
|
set(TEST_LIB ${TEST_LIB} ${OPENJPEG_LIBRARIES})
|
|
endif()
|
|
blender_add_test_suite_lib(ffmpeg_libs "${TEST_SRC}" "${TEST_INC}" "${TEST_INC_SYS}" "${TEST_LIB}")
|
|
endif()
|