aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/CMakeLists.txt.template
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2019-01-03 10:10:13 -0800
committerGravatar GitHub <noreply@github.com>2019-01-03 10:10:13 -0800
commite761e56630c9ca976eb09bb53f3f69842a0f04fd (patch)
tree3949194d99bdb7990e5a84429cbfb8065a40db8a /templates/CMakeLists.txt.template
parent8f5bda6de95f8948ab97084f2bbad6c6f5aec606 (diff)
parent6f083e112c509e4ef964b90eb1c3654033123878 (diff)
Merge pull request #17249 from muxi/16-to-32
Use 32 bit nanopb fields
Diffstat (limited to 'templates/CMakeLists.txt.template')
-rw-r--r--templates/CMakeLists.txt.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template
index 1628493d00..f33d980cd0 100644
--- a/templates/CMakeLists.txt.template
+++ b/templates/CMakeLists.txt.template
@@ -143,7 +143,7 @@
## Some libraries are shared even with BUILD_SHARED_LIBRARIES=OFF
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
- add_definitions(-DPB_FIELD_16BIT)
+ add_definitions(-DPB_FIELD_32BIT)
if (MSVC)
include(cmake/msvc_static_runtime.cmake)