From bd7f33c3aab9f4ecf4eecc9dac969b18c05b1d90 Mon Sep 17 00:00:00 2001 From: Fries Date: Sat, 20 Jul 2024 21:24:53 -0700 Subject: [PATCH] add option to build encoder app --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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