Skip to content

Commit 6487c72

Browse files
committed
fix
1 parent 3b101ea commit 6487c72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmake/external_dependencies.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ find_package_or_fetch(
5252
GIT_REPOSITORY https://github.com/google/flatbuffers.git
5353
TAG v25.2.10
5454
)
55-
add_library(flatbuffers::flatbuffers ALIAS flatbuffers)
55+
56+
if(NOT TARGET flatbuffers::flatbuffers)
57+
add_library(flatbuffers::flatbuffers ALIAS flatbuffers)
58+
endif()
5659
unset(FLATBUFFERS_BUILD_TESTS CACHE)
5760

5861
if(SPARROW_IPC_BUILD_TESTS)

0 commit comments

Comments
 (0)