From 3f46a65199816be76e4bf7d91be767befe581117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 1 Jul 2021 11:32:06 -0300 Subject: [PATCH] cmake: Turn MICROHARD and TAISYNC disabled by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b01fc16..8474022 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,9 +107,10 @@ endif() if (GST_FOUND) add_definitions( -DQGC_GST_STREAMING - -DQGC_GST_TAISYNC_ENABLED - -DQGC_GST_MICROHARD_ENABLED ) + + option(QGC_GST_MICROHARD_ENABLED "Enable microhard" OFF) + option(QGC_GST_TAISYNC_ENABLED "Enable taisyng" OFF) endif() add_definitions(