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/aom/CMakeLists.txt | |
parent | b8df135c97a854c2ff9b4394b016649c601177fa (diff) | |
download | UXP-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.tar UXP-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.tar.gz UXP-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.tar.lz UXP-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.tar.xz UXP-ba5a1ea60f21da69eb50c28e9fb4e034765e0c62.zip |
[aom] Only build stats code if examples are enabled
Diffstat (limited to 'third_party/aom/CMakeLists.txt')
-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 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} $<TARGET_OBJECTS:aom_rtcd>) if(NOT MSVC AND NOT APPLE) |