@@ -5,7 +5,6 @@ include (CTest)
5
5
6
6
option (WITH_FFMPEG "Build using FFmpeg demuxer and decoder" OFF )
7
7
option (WITH_OCR "Build with OCR (Optical Character Recognition) feature" OFF )
8
- option (WITH_SHARING "Build with sharing and translation support" OFF )
9
8
option (WITH_HARDSUBX "Build with support for burned-in subtitles" OFF )
10
9
option (WITHOUT_RUST "Build without Rust library" OFF )
11
10
@@ -52,7 +51,6 @@ include_directories(${PROJECT_SOURCE_DIR})
52
51
include_directories (${PROJECT_SOURCE_DIR} /lib_ccx)
53
52
include_directories (${PROJECT_SOURCE_DIR} /lib_ccx/zvbi)
54
53
include_directories (${PROJECT_SOURCE_DIR} /thirdparty)
55
- include_directories (${PROJECT_SOURCE_DIR} /thirdparty/protobuf-c)
56
54
include_directories (${PROJECT_SOURCE_DIR} /thirdparty/lib_hash)
57
55
include_directories (${PROJECT_SOURCE_DIR} /thirdparty/libpng)
58
56
@@ -72,7 +70,6 @@ include_directories(${PROJECT_SOURCE_DIR}/thirdparty/zlib)
72
70
include_directories (${PROJECT_SOURCE_DIR} /thirdparty/freetype/include )
73
71
aux_source_directory (${PROJECT_SOURCE_DIR} /thirdparty/lib_hash/ SOURCEFILE)
74
72
aux_source_directory (${PROJECT_SOURCE_DIR} /thirdparty/libpng/ SOURCEFILE)
75
- aux_source_directory (${PROJECT_SOURCE_DIR} /thirdparty/protobuf-c/ SOURCEFILE)
76
73
aux_source_directory (${PROJECT_SOURCE_DIR} /thirdparty/zlib/ SOURCEFILE)
77
74
aux_source_directory (${PROJECT_SOURCE_DIR} /lib_ccx/zvbi/ SOURCEFILE)
78
75
@@ -206,21 +203,6 @@ if (PKG_CONFIG_FOUND AND WITH_OCR)
206
203
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DENABLE_OCR" )
207
204
endif (PKG_CONFIG_FOUND AND WITH_OCR)
208
205
209
- ########################################################
210
- # Build with CC sharing and translation support
211
- ########################################################
212
-
213
- if (PKG_CONFIG_FOUND AND WITH_SHARING)
214
-
215
- pkg_check_modules (NANOMSG REQUIRED libnanomsg)
216
- set (EXTRA_LIBS ${EXTRA_LIBS} ${NANOMSG_STATIC_LIBRARIES} )
217
-
218
- include_directories ("${PROJECT_SOURCE_DIR} /thirdparty/protobuf-c/" )
219
- aux_source_directory ("${PROJECT_SOURCE_DIR} /thirdparty/protobuf-c/" SOURCEFILE)
220
-
221
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DENABLE_SHARING" )
222
- endif (PKG_CONFIG_FOUND AND WITH_SHARING)
223
-
224
206
########################################################
225
207
# Build for hardsubx using avformat, avutil, avcodec and
226
208
# swscale
0 commit comments