File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ function(setup_pod_headers target_name)
81
81
# Add pod name twice as some frameworks moved includes inside a folder with
82
82
# the pod name
83
83
target_include_directories (${target_name}
84
- PRIVATE
84
+ # Link the Pods publicly, so that dependent libraries can access the necessary header files as well.
85
+ # Same for the below workaround.
86
+ PUBLIC
85
87
${FIREBASE_POD_HEADER_DIR} /${pod}
86
88
${FIREBASE_POD_HEADER_DIR} /${pod}/${pod}
87
89
)
@@ -90,7 +92,7 @@ function(setup_pod_headers target_name)
90
92
# we need to include the top-level Private directory as a header path. This only affects Firestore at the moment, as
91
93
# no other C++ library includes a private Pod header.
92
94
target_include_directories (${target_name}
93
- PRIVATE
95
+ PUBLIC
94
96
${FIREBASE_POD_PRIVATE_HEADER_DIR} /
95
97
${FIREBASE_POD_PRIVATE_HEADER_DIR} /${pod}
96
98
${FIREBASE_POD_PRIVATE_HEADER_DIR} /${pod}/${pod}
You can’t perform that action at this time.
0 commit comments