File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,6 @@ ExternalProject_Add(
34
34
BUILD_COMMAND ""
35
35
INSTALL_COMMAND ""
36
36
TEST_COMMAND ""
37
+ PATCH_COMMAND patch -Np1 --binary -i ${CMAKE_CURRENT_LIST_DIR} /nanopb.patch
37
38
HTTP_HEADER "${EXTERNAL_PROJECT_HTTP_HEADER} "
38
39
)
Original file line number Diff line number Diff line change
1
+ diff -Naur nanopb/CMakeLists.txt nanopb-fix/CMakeLists.txt
2
+ --- nanopb/CMakeLists.txt 2021-03-22 08:50:07.000000000 -0400
3
+ +++ nanopb-fix/CMakeLists.txt 2022-06-24 16:17:09.130783413 -0400
4
+ @@ -41,7 +41,7 @@
5
+ if(nanopb_BUILD_GENERATOR)
6
+ set(generator_protos nanopb plugin)
7
+
8
+ - find_package(PythonInterp 2.7 REQUIRED)
9
+ + find_package(PythonInterp 3.7 REQUIRED)
10
+ execute_process(
11
+ COMMAND ${PYTHON_EXECUTABLE} -c
12
+ "from distutils import sysconfig; print(sysconfig.get_python_lib(prefix=''))"
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ options=(
26
26
)
27
27
28
28
git grep " ${options[@]} " -- \
29
+ ' :(exclude)cmake/external/nanopb.patch' \
29
30
' :(exclude)cmake/external/snappy.patch' \
30
31
' :(exclude)Crashlytics/ProtoSupport' \
31
32
' :(exclude)Crashlytics/UnitTests/Data' \
You can’t perform that action at this time.
0 commit comments