From ba5a1ea60f21da69eb50c28e9fb4e034765e0c62 Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 19 Oct 2018 23:01:02 -0500 Subject: [aom] Only build stats code if examples are enabled --- third_party/aom/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'third_party/aom') diff --git a/third_party/aom/CMakeLists.txt b/third_party/aom/CMakeLists.txt index 0b445722d..a1e810d49 100644 --- a/third_party/aom/CMakeLists.txt +++ b/third_party/aom/CMakeLists.txt @@ -255,7 +255,10 @@ add_rtcd_build_step("${AOM_ROOT}/av1/common/av1_rtcd_defs.pl" add_library(aom_rtcd OBJECT ${AOM_RTCD_SOURCES}) add_dependencies(aom_rtcd aom_version) +if (ENABLE_EXAMPLES) add_library(aom_encoder_stats OBJECT ${AOM_ENCODER_STATS_SOURCES}) +endif () + add_library(aom ${AOM_SOURCES} $) if(NOT MSVC AND NOT APPLE) -- cgit v1.2.3