We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd349fa commit 0e4803cCopy full SHA for 0e4803c
CMakeLists.txt
@@ -549,6 +549,10 @@ if (CMAKE_CROSSCOMPILING)
549
list(APPEND FFMPEG_CONFIGURE_FLAGS "--as=${CMAKE_C_COMPILER}")
550
list(APPEND FFMPEG_CONFIGURE_FLAGS "--ld=${CMAKE_C_COMPILER}")
551
list(APPEND FFMPEG_CONFIGURE_FLAGS "--cc=${CMAKE_C_COMPILER}")
552
+
553
+ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
554
+ list(APPEND FFMPEG_CONFIGURE_FLAGS "--ar=${CMAKE_AR}")
555
+ endif()
556
endif()
557
558
list(APPEND FFMPEG_CONFIGURE_FLAGS "--nm=${CMAKE_NM}")
0 commit comments