From 3fcdf510ce4b7f50e44445ff329d9019e73ba257 Mon Sep 17 00:00:00 2001 From: Rich Gowman Date: Fri, 2 Feb 2018 14:12:51 -0500 Subject: Hook up nanopb to firestorep project Use remote/serializer placeholder class as a hook for the test to ensure nanopb headers can be found, and test can be linked. --- Firestore/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Firestore/CMakeLists.txt') diff --git a/Firestore/CMakeLists.txt b/Firestore/CMakeLists.txt index b8c95c6..25f27fa 100644 --- a/Firestore/CMakeLists.txt +++ b/Firestore/CMakeLists.txt @@ -47,6 +47,7 @@ add_library( find_package(LevelDB REQUIRED) find_package(GRPC REQUIRED) +find_package(Nanopb REQUIRED) if(APPLE) find_package(FirebaseCore REQUIRED) @@ -63,4 +64,7 @@ include_directories(${FIREBASE_INSTALL_DIR}) # Fully qualified imports, project wide include_directories(${FIREBASE_SOURCE_DIR}) +# Include nanopb generated sources +include_directories(${FIREBASE_SOURCE_DIR}/Firestore/Protos/nanopb) + add_subdirectory(core) -- cgit v1.2.3