@@ -9,12 +9,12 @@ message(STATUS "AvTranscoder version is ${AVTRANSCODER_VERSION}")
9
9
find_package (FFmpeg COMPONENTS avcodec avformat avutil swscale swresample avresample )
10
10
if (swresample_FOUND )
11
11
add_definitions (-DAVTRANSCODER_FFMPEG_DEPENDENCY )
12
- message (STATUS "Build avTranscoder with dependency to ffmpeg." )
12
+ message (STATUS "Build avTranscoder with dependency to ffmpeg." )
13
13
elseif (avresample_FOUND )
14
14
add_definitions (-DAVTRANSCODER_LIBAV_DEPENDENCY )
15
15
message (STATUS "Build avTranscoder with dependency to libav." )
16
16
else ()
17
- message (SEND_ERROR "Can't define if you depend on ffmpeg or libav." )
17
+ message (SEND_ERROR "Can't define if you depend on ffmpeg or libav." )
18
18
endif ()
19
19
20
20
# Include AvTranscoder and FFmpeg
@@ -38,8 +38,7 @@ set_target_properties(avtranscoder-shared PROPERTIES SOVERSION ${AVTRANSCODER_VE
38
38
set_target_properties (avtranscoder-shared PROPERTIES VERSION ${AVTRANSCODER_VERSION} )
39
39
set_target_properties (avtranscoder-shared PROPERTIES INSTALL_RPATH_USE_LINK_PATH 1 )
40
40
target_link_libraries (avtranscoder-shared ${FFMPEG_LIBRARIES} )
41
- target_include_directories (avtranscoder-shared PUBLIC
42
- ${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
41
+ target_include_directories (avtranscoder-shared PUBLIC ${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
43
42
44
43
45
44
### Install AvTranscoder libs and include
@@ -120,12 +119,12 @@ if(SWIG_FOUND)
120
119
else ()
121
120
message ("PYTHON not found, will not build python binding." )
122
121
endif ()
123
- endif ()
122
+ endif ()
124
123
125
124
### JAVA BINDING
126
- if (AVTRANSCODER_DISABLE_JAVA_BINDING )
125
+ if (AVTRANSCODER_DISABLE_JAVA_BINDING )
127
126
message ("JAVA binding disabled, will not build java binding." )
128
- else ()
127
+ else ()
129
128
find_package (Java )
130
129
find_package (JNI )
131
130
if (JAVA_FOUND AND JNI_FOUND )
0 commit comments