aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/external/nanopb.cmake
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-07-11 15:55:36 -0700
committerGravatar GitHub <noreply@github.com>2018-07-11 15:55:36 -0700
commit7fc953fc6ffa69d159c0523d3902d867fe8c0ca5 (patch)
treed8551a0c0d592f5937435819ca3d6e8c1bec72a9 /cmake/external/nanopb.cmake
parente1ace703fbf4458d9e887ebf30050b1a0482a2d2 (diff)
Firestore CMake cleanup (#1510)
* Pull out sanitizer options into a separate file * Reorder packages * Remove the extra "external/$target" directory from PREFIX Instead of BINARY_DIR/external/foo/src/foo the contents will be in BINARY_DIR/src/foo. * Make libprotobuf-nanopb targets line up with nanopb's CMakeLists.txt * Fix CMake style
Diffstat (limited to 'cmake/external/nanopb.cmake')
-rw-r--r--cmake/external/nanopb.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/external/nanopb.cmake b/cmake/external/nanopb.cmake
index 7f1df78..b341c36 100644
--- a/cmake/external/nanopb.cmake
+++ b/cmake/external/nanopb.cmake
@@ -30,7 +30,7 @@ ExternalProject_Add(
URL https://github.com/nanopb/nanopb/archive/nanopb-0.3.9.1.tar.gz
URL_HASH SHA256=67460d0c0ad331ef4d5369ad337056d0cd2f900c94887628d287eb56c69324bc
- PREFIX ${PROJECT_BINARY_DIR}/external/nanopb
+ PREFIX ${PROJECT_BINARY_DIR}
CMAKE_ARGS
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}