diff options
Diffstat (limited to 'cmake/FindNanopb.cmake')
-rw-r--r-- | cmake/FindNanopb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindNanopb.cmake b/cmake/FindNanopb.cmake index 9678fb18..ad96b5c3 100644 --- a/cmake/FindNanopb.cmake +++ b/cmake/FindNanopb.cmake @@ -148,7 +148,7 @@ function(NANOPB_GENERATE_CPP SRCS HDRS) "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.h" COMMAND python ARGS ${NANOPB_GENERATOR_EXECUTABLE} ${FIL_WE}.pb - DEPENDS ${FIL_WE}.pb + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb" COMMENT "Running nanopb generator on ${FIL_WE}.pb" VERBATIM ) endforeach() |