File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ if(AVTRANSCODER_COVERAGE)
26
26
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage" )
27
27
endif ()
28
28
29
+ # Build library
29
30
add_subdirectory (src )
30
31
32
+ # Build apps
31
33
if (AVTRANSCODER_DISABLE_APPS )
32
34
message ("Apps disabled, will not build applications." )
33
35
else ()
Original file line number Diff line number Diff line change 2
2
set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} /cmake )
3
3
include (AvTranscoderMacros )
4
4
5
- # find package ffmpeg/libav
5
+ # Find package ffmpeg/libav
6
6
find_package (FFmpeg COMPONENTS avcodec avformat avutil swscale swresample avresample )
7
-
8
- # Check if FFmpeg or libav dependency
9
7
if (swresample_FOUND )
10
8
add_definitions (-DAVTRANSCODER_FFMPEG_DEPENDENCY )
11
- message ("Build avTranscoder with dependency to ffmpeg." )
9
+ message (STATUS "Build avTranscoder with dependency to ffmpeg." )
12
10
elseif (avresample_FOUND )
13
11
add_definitions (-DAVTRANSCODER_LIBAV_DEPENDENCY )
14
- message ("Build avTranscoder with dependency to libav." )
12
+ message (STATUS "Build avTranscoder with dependency to libav." )
15
13
else ()
16
14
message (SEND_ERROR "Can't define if you depend on ffmpeg or libav." )
17
15
endif ()
You can’t perform that action at this time.
0 commit comments