Commit 4f8be91496 for aom
commit 4f8be91496f7638f5818b886757feb9b5a71cd0a
Author: Wan-Teh Chang <wtc@google.com>
Date: Fri Jul 31 12:01:38 2026 -0700
Fix set_property(TARGET ${example}) calls
The use of ${example} in some set_property(TARGET PROPERTY FOLDER) calls
was a copy-and-paste error introduced in commit fd28873. Replace
${example} with the correct target names.
Add a set_property(TARGET PROPERTY FOLDER) call for the aom_usage_exit
library target (added in commit 827c8fd).
Change-Id: I8ece08ebe300d91ac0d695b54457aba395ef89e2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bdb117de05..5dfd628eb4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -442,17 +442,18 @@ file(WRITE "${AOM_GEN_SRC_DIR}/usage_exit.c"
#
if(ENABLE_EXAMPLES OR ENABLE_TESTS OR ENABLE_TOOLS)
add_library(aom_common_app_util OBJECT ${AOM_COMMON_APP_UTIL_SOURCES})
+ set_property(TARGET aom_common_app_util PROPERTY FOLDER examples)
add_library(aom_usage_exit OBJECT "${AOM_GEN_SRC_DIR}/usage_exit.c")
- set_property(TARGET ${example} PROPERTY FOLDER examples)
+ set_property(TARGET aom_usage_exit PROPERTY FOLDER examples)
if(CONFIG_AV1_DECODER)
add_library(aom_decoder_app_util OBJECT ${AOM_DECODER_APP_UTIL_SOURCES})
- set_property(TARGET ${example} PROPERTY FOLDER examples)
+ set_property(TARGET aom_decoder_app_util PROPERTY FOLDER examples)
# obudec depends on internal headers that require *rtcd.h
add_dependencies(aom_decoder_app_util aom_rtcd)
endif()
if(CONFIG_AV1_ENCODER)
add_library(aom_encoder_app_util OBJECT ${AOM_ENCODER_APP_UTIL_SOURCES})
- set_property(TARGET ${example} PROPERTY FOLDER examples)
+ set_property(TARGET aom_encoder_app_util PROPERTY FOLDER examples)
endif()
endif()