summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_scale/aom_scale.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_scale/aom_scale.cmake')
-rw-r--r--third_party/aom/aom_scale/aom_scale.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/aom/aom_scale/aom_scale.cmake b/third_party/aom/aom_scale/aom_scale.cmake
index e1e3f6cfb..b52fd83dc 100644
--- a/third_party/aom/aom_scale/aom_scale.cmake
+++ b/third_party/aom/aom_scale/aom_scale.cmake
@@ -26,11 +26,11 @@ set(AOM_SCALE_INTRIN_DSPR2
# target must exist before this function is called.
function (setup_aom_scale_targets)
add_library(aom_scale OBJECT ${AOM_SCALE_SOURCES})
- target_sources(aom PUBLIC $<TARGET_OBJECTS:aom_scale>)
+ target_sources(aom PRIVATE $<TARGET_OBJECTS:aom_scale>)
if (HAVE_DSPR2)
add_intrinsics_object_library("" "dspr2" "aom_scale"
- "AOM_SCALE_INTRIN_DSPR2")
+ "AOM_SCALE_INTRIN_DSPR2" "aom_scale")
endif ()
set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_scale PARENT_SCOPE)