diff options
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Firestore/core/src/firebase/firestore/base/port.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Firestore/CMakeLists.txt b/Firestore/CMakeLists.txt index 906b6e4..ba9998d 100644 --- a/Firestore/CMakeLists.txt +++ b/Firestore/CMakeLists.txt @@ -24,6 +24,10 @@ include(utils) find_package(GTest REQUIRED) find_package(LevelDB REQUIRED) +if(APPLE) + find_package(FirebaseCore REQUIRED) +endif() + # We use C++11 set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/Firestore/core/src/firebase/firestore/base/port.h b/Firestore/core/src/firebase/firestore/base/port.h index 37d1041..5e3959d 100644 --- a/Firestore/core/src/firebase/firestore/base/port.h +++ b/Firestore/core/src/firebase/firestore/base/port.h @@ -18,7 +18,7 @@ #define FIRESTORE_CORE_SRC_FIREBASE_FIRESTORE_BASE_PORT_H_ #if defined(__APPLE__) -// On Apple platforms we support building via Cocoapods without CMake. When +// On Apple platforms we support building via CocoaPods without CMake. When // building this way we can't test the presence of features so predefine all // the platform-support feature macros to their expected values. |