Skip to content

Commit 4e5e59b

Browse files
miracle-sophgosophgo-yezx
authored andcommitted
[fix] fixed build BM1688.
Change-Id: I64eb4b50fec7363a4d15fc851949d5373ccd133d Reviewed-on: https://gerrit-ai.sophgo.vip:8443/148907 Reviewed-by: 振兴 叶 <zhenxing.ye@sophgo.com>
1 parent 88b5f41 commit 4e5e59b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,10 @@ set(CORES_SRCS
3030
$<TARGET_OBJECTS:encoder>
3131
)
3232

33-
set(EX_SRCS
34-
$<TARGET_OBJECTS:video_decoder>
35-
$<TARGET_OBJECTS:c_apis_ex>
36-
)
33+
set(EX_SRCS $<TARGET_OBJECTS:c_apis_ex>)
3734

3835
if(("${CVI_PLATFORM}" STREQUAL "BM1688") OR ("${CVI_PLATFORM}" STREQUAL "BM1684X") OR ("${CVI_PLATFORM}" STREQUAL "BM1684"))
39-
set(CORES_SRCS ${CORES_SRCS} $<TARGET_OBJECTS:llm>)
36+
set(CORES_SRCS ${CORES_SRCS} $<TARGET_OBJECTS:llm> $<TARGET_OBJECTS:video_decoder>)
4037
endif()
4138

4239
if("${CVI_PLATFORM}" STREQUAL "CMODEL_CV184X" OR "${CVI_PLATFORM}" STREQUAL "CV184X")

0 commit comments

Comments
 (0)