Skip to content

Commit 6727446

Browse files
authored
Merge pull request #248 from firebase/am-flatbuffers-fix
Explicitly list the Flatbuffer source files
2 parents ecccb23 + c60c6b8 commit 6727446

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ endif()
300300

301301
if(ANDROID OR IOS)
302302
# If building for Android or iOS, include the Flatbuffers source files directly.
303-
set(app_flatbuffers_srcs ${FlatBuffers_Library_SRCS})
303+
set(app_flatbuffers_srcs
304+
${FLATBUFFERS_SOURCE_DIR}/src/idl_parser.cpp
305+
${FLATBUFFERS_SOURCE_DIR}/src/idl_gen_text.cpp
306+
${FLATBUFFERS_SOURCE_DIR}/src/reflection.cpp
307+
${FLATBUFFERS_SOURCE_DIR}/src/util.cpp)
304308
set(app_flatbuffers_lib)
305309
else()
306310
set(app_flatbuffers_srcs)

0 commit comments

Comments
 (0)