mirror of https://github.com/procxx/kepka.git
37 lines
909 B
CMake
37 lines
909 B
CMake
# This file is part of Telegram Desktop,
|
|
# the official desktop application for the Telegram messaging service.
|
|
#
|
|
# For license and copyright information please follow this link:
|
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
add_library(lib_ffmpeg OBJECT)
|
|
init_target(lib_ffmpeg)
|
|
|
|
set(lib_ffmpeg_sources
|
|
PRIVATE
|
|
ffmpeg/ffmpeg_utility.cpp
|
|
ffmpeg/ffmpeg_utility.h
|
|
)
|
|
nice_target_sources(lib_ffmpeg ${src_loc} "${lib_ffmpeg_sources}")
|
|
|
|
target_include_directories(lib_ffmpeg
|
|
PUBLIC
|
|
${src_loc}
|
|
${libs_loc}/ffmpeg
|
|
)
|
|
|
|
target_link_directories(lib_ffmpeg
|
|
PUBLIC
|
|
${libs_loc}/ffmpeg
|
|
)
|
|
|
|
target_link_libraries(lib_ffmpeg
|
|
PUBLIC
|
|
lib_base
|
|
${libs_loc}/ffmpeg/libavformat/libavformat.a
|
|
${libs_loc}/ffmpeg/libavcodec/libavcodec.a
|
|
${libs_loc}/ffmpeg/libavutil/libavutil.a
|
|
${libs_loc}/ffmpeg/libswresample/libswresample.a
|
|
${libs_loc}/ffmpeg/libswscale/libswscale.a
|
|
)
|