Skip to content

Commit fc8639f

Browse files
authored
Fix cmake build regression (#4596)
1 parent 96e58f0 commit fc8639f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

FirebaseCore/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
if(APPLE)
16-
file(GLOB sources *.m)
17-
file(GLOB headers Private/*.h Public/*.h)
16+
file(GLOB sources Sources/*.m)
17+
file(GLOB headers Sources/Private/*.h Sources/Public/*.h)
1818

1919
podspec_version(core_version ${PROJECT_SOURCE_DIR}/FirebaseCore.podspec)
2020
firebase_version(fb_version ${PROJECT_SOURCE_DIR}/FirebaseCore.podspec)
@@ -28,8 +28,9 @@ if(APPLE)
2828
FIRCore_VERSION=${core_version}
2929
Firebase_VERSION=${fb_version}
3030
INCLUDES
31-
Private
32-
Public
31+
Sources/Private
32+
Sources/Public
33+
${PROJECT_SOURCE_DIR}
3334
DEPENDS
3435
GoogleUtilities
3536
FirebaseCoreDiagnosticsInterop

scripts/if_changed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ else
112112
;;
113113

114114
Firestore-cmake)
115-
check_changes '^(Firestore/(core|third_party)|cmake|GoogleUtilities)'
115+
check_changes '^(Firestore/(core|third_party)|cmake|FirebaseCore|GoogleUtilities)'
116116
;;
117117

118118
GoogleDataTransport-*)

0 commit comments

Comments
 (0)