summaryrefslogtreecommitdiff
path: root/scripts/cmake/common_user_options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cmake/common_user_options.cmake')
-rw-r--r--scripts/cmake/common_user_options.cmake17
1 files changed, 16 insertions, 1 deletions
diff --git a/scripts/cmake/common_user_options.cmake b/scripts/cmake/common_user_options.cmake
index 97e9b40..64b9c74 100644
--- a/scripts/cmake/common_user_options.cmake
+++ b/scripts/cmake/common_user_options.cmake
@@ -1,5 +1,5 @@
#----------------------------------------------------------------------------
-# SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2021-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -81,6 +81,21 @@ USER_OPTION(USE_SINGLE_INPUT "Select if a use case should execute using a defaul
OFF
BOOL)
+if (TARGET_PLATFORM STREQUAL mps3)
+ USER_OPTION(VSI_ENABLED
+ "Select to use VSI for video streaming"
+ OFF
+ BOOL)
+
+ if (VSI_ENABLED)
+ USER_OPTION(VSI_IMAGE_INPUT
+ "Use images as input to VSI instead of video"
+ OFF
+ BOOL
+ )
+ endif ()
+endif ()
+
if (NOT TARGET_PLATFORM STREQUAL native)
USER_OPTION(CMSIS_SRC_PATH