add option to build encoder app
This commit is contained in:
parent
ecb3238763
commit
bd7f33c3aa
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(mpeg2enc)
|
project(mpeg2enc)
|
||||||
|
|
||||||
|
option(BUILD_Y262_APP "Build the Command Line app" OFF)
|
||||||
|
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/y262)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/y262)
|
||||||
|
if (BUILD_Y262_APP)
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/y262app)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/y262app)
|
||||||
|
endif()
|
Loading…
Reference in a new issue