diff options
author | trav90 <travawine@palemoon.org> | 2018-10-19 23:01:02 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-10-19 23:01:02 -0500 |
commit | ba5a1ea60f21da69eb50c28e9fb4e034765e0c62 (patch) | |
tree | 294a3d0d8a555cb3e82307459220946230ec23c7 /third_party | |
parent | b8df135c97a854c2ff9b4394b016649c601177fa (diff) | |
download | uxp-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.tar.gz |
[aom] Only build stats code if examples are enabled
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/aom/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/aom/CMakeLists.txt b/third_party/aom/CMakeLists.txt index 0b445722d1..a1e810d491 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} $<TARGET_OBJECTS:aom_rtcd>) if(NOT MSVC AND NOT APPLE) |