Skip to content

Commit 2e626b5

Browse files
committed
bluetooth: services: wifi_prov: Fix setting of nanopb_BUILD_RUNTIME
`nanopb_BUILD_RUNTIME` is not an option to be passed to nanopb, but rather a cmake one, so set it to off in the proper way. The previous invalid form was not working as intended and only by chance not causing any problems. With a correction that was applied in the nanopb module (removal of leading space before the first -I directive passed to nanopb), this behavior changed and because of that the generation could not be performed correctly. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 0e5591f commit 2e626b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/services/wifi_prov/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
zephyr_library()
77

88
set(PROTOC_OPTIONS "-I${CMAKE_CURRENT_SOURCE_DIR}")
9-
set(NANOPB_OPTIONS "nanopb_BUILD_RUNTIME OFF")
9+
set(nanopb_BUILD_RUNTIME OFF)
1010
set(CMAKE_MODULE_PATH ${ZEPHYR_NANOPB_MODULE_DIR}/extra)
1111
find_package(Nanopb REQUIRED)
1212
set(NANOPB_GENERATE_CPP_STANDALONE FALSE)

0 commit comments

Comments
 (0)