diff --git a/CMakeLists.txt b/CMakeLists.txt index abf6343..87a7f4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,9 @@ cmake_minimum_required(VERSION 3.1) 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/y262app) +if (BUILD_Y262_APP) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src/y262app) +endif() \ No newline at end of file