mirror of
https://github.com/zoriya/Kyoo.Transcoder.git
synced 2025-12-06 06:26:11 +00:00
Making the cmake configure ffmpeg
This commit is contained in:
@@ -27,4 +27,13 @@ if(WIN32)
|
||||
target_link_libraries(transcoder wsock32 ws2_32)
|
||||
target_link_libraries(transcoder Secur32 Secur32)
|
||||
target_link_libraries(transcoder Bcrypt Bcrypt)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(FFMPEG
|
||||
SOURCE_DIR ${CMAKE_SOURCE_DIR}/ffmpeg
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND ./configure --pkg-config-flags=--static --disable-shared --enable-static --disable-zlib --disable-iconv --disable-asm --disable-ffplay --disable-ffprobe
|
||||
BUILD_COMMAND make
|
||||
INSTALL_COMMAND ""
|
||||
)
|
||||
Reference in New Issue
Block a user