Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/FindNanopb.cmake2
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)