File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -525,13 +525,14 @@ if (IOS)
525
525
526
526
# Generate Framework Headers from ${framework_HDRS}
527
527
# Copy header from source dir "src/include/firebase/*" to destination dir "Headers/*"
528
+ # Firestore has few headers from a different directory pattern (core/include/firebase/*).
528
529
list (APPEND framework_HDRS ${internal_HDRS} )
529
530
foreach (hfile ${framework_HDRS} )
530
- string (FIND ${hfile} "firebase/" pos_firebase )
531
+ string (FIND ${hfile} "/include/ firebase/" pos_firebase )
531
532
string (COMPARE NOTEQUAL ${pos_firebase} -1 find )
532
533
if (${find} )
533
534
string (FIND ${hfile} "/" pos_e REVERSE )
534
- math (EXPR pos_s "${pos_firebase} + 8 " )
535
+ math (EXPR pos_s "${pos_firebase} + 17 " )
535
536
math (EXPR len "${pos_e} - ${pos_s} " )
536
537
string (SUBSTRING ${hfile} ${pos_s} ${len} dir )
537
538
# file(COPY ${hfile} DESTINATION Headers/${dir})
You can’t perform that action at this time.
0 commit comments