Skip to content

Commit 3ba2112

Browse files
committed
fix compilation issue
1 parent d06549c commit 3ba2112

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backends/iluvatar_gpu/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ target_include_directories(external_error_proto
7070
target_link_libraries(external_error_proto PUBLIC protobuf)
7171
set_target_properties(external_error_proto PROPERTIES POSITION_INDEPENDENT_CODE
7272
ON)
73-
add_custom_target(external_deps DEPENDS eigen3 zlib protobuf)
7473
if(WITH_FLAGCX)
75-
add_custom_target(external_deps DEPENDS flagcx)
74+
add_custom_target(external_deps DEPENDS eigen3 zlib protobuf flagcx)
75+
else()
76+
add_custom_target(external_deps DEPENDS eigen3 zlib protobuf)
7677
endif()
7778

7879
if(WITH_COREX)

0 commit comments

Comments
 (0)