fix[cmake]: Fix compile error on linux with asan

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I90a815835048e7931d773f3dc5ed42cb39640ab6
This commit is contained in:
Herman Chen
2025-06-24 10:11:20 +08:00
parent 2506f5df61
commit ccee46d061

View File

@@ -11,6 +11,6 @@ add_test(NAME vdpp_test COMMAND vdpp_test)
# hwpq test (call libvdpp.so)
add_executable(hwpq_test hwpq_test.cpp)
target_link_libraries(hwpq_test vdpp)
target_link_libraries(hwpq_test vdpp ${ASAN_LIB})
set_target_properties(hwpq_test PROPERTIES FOLDER "mpp/vproc/vdpp")
add_test(NAME hwpq_test COMMAND hwpq_test)