diff options
-rw-r--r-- | extra/FindNanopb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/FindNanopb.cmake b/extra/FindNanopb.cmake index e6b5591..c832896 100644 --- a/extra/FindNanopb.cmake +++ b/extra/FindNanopb.cmake @@ -144,7 +144,7 @@ function(NANOPB_GENERATE_CPP SRCS HDRS) list(APPEND _nanopb_include_path "-I${ABS_PATH}") endforeach() else() - set(_nanopb_include_path "-I${CMAKE_CURRENT_SOURCE_DIR}") + list(APPEND _nanopb_include_path "-I${CMAKE_CURRENT_SOURCE_DIR}") endif() if(DEFINED NANOPB_IMPORT_DIRS) |