summaryrefslogtreecommitdiff
path: root/libs/libaom/src/build/cmake/aom_experiment_deps.cmake
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2021-09-26 12:50:43 -0500
committerJeremy Andrews <athenian200@outlook.com>2021-09-26 12:50:43 -0500
commitcc621e1829f61df96473cd04fb8ba27a65c99e13 (patch)
tree3387ebd88906fd0392190455d089314eddc6ec81 /libs/libaom/src/build/cmake/aom_experiment_deps.cmake
parent78f8ab35c2264cad5725ef6f8f21b1a614d90775 (diff)
downloadaura-central-cc621e1829f61df96473cd04fb8ba27a65c99e13.tar.gz
Issue %3003 - Move libaom to libs/
Diffstat (limited to 'libs/libaom/src/build/cmake/aom_experiment_deps.cmake')
-rw-r--r--libs/libaom/src/build/cmake/aom_experiment_deps.cmake28
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/libaom/src/build/cmake/aom_experiment_deps.cmake b/libs/libaom/src/build/cmake/aom_experiment_deps.cmake
new file mode 100644
index 000000000..2e3615791
--- /dev/null
+++ b/libs/libaom/src/build/cmake/aom_experiment_deps.cmake
@@ -0,0 +1,28 @@
+#
+# Copyright (c) 2017, Alliance for Open Media. All rights reserved
+#
+# This source code is subject to the terms of the BSD 2 Clause License and the
+# Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License was
+# not distributed with this source code in the LICENSE file, you can obtain it
+# at www.aomedia.org/license/software. If the Alliance for Open Media Patent
+# License 1.0 was not distributed with this source code in the PATENTS file, you
+# can obtain it at www.aomedia.org/license/patent.
+#
+if(AOM_BUILD_CMAKE_AOM_EXPERIMENT_DEPS_CMAKE_)
+ return()
+endif() # AOM_BUILD_CMAKE_AOM_EXPERIMENT_DEPS_CMAKE_
+set(AOM_BUILD_CMAKE_AOM_EXPERIMENT_DEPS_CMAKE_ 1)
+
+# Adjusts CONFIG_* CMake variables to address conflicts between active AV1
+# experiments.
+macro(fix_experiment_configs)
+
+ if(CONFIG_ANALYZER)
+ change_config_and_warn(CONFIG_INSPECTION 1 CONFIG_ANALYZER)
+ endif()
+
+ if(CONFIG_DIST_8X8 AND CONFIG_MULTITHREAD)
+ change_config_and_warn(CONFIG_DIST_8X8 0 CONFIG_MULTITHREAD)
+ endif()
+
+endmacro()