summaryrefslogtreecommitdiffstats
path: root/cmake/FindNanopb.cmake
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-11 09:22:32 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-11 09:22:32 +0200
commit171d64734a34674cd648ac7b8569b4b21285fed4 (patch)
tree8550d5116b86a15d6bf426b97a9cf02ef6e45091 /cmake/FindNanopb.cmake
parent321ca6c1d5736edf6ec2ac0b97eae58227954fad (diff)
Fix path in FindNanopb.cmake.
Update issue 94 Status: FixedInGit
Diffstat (limited to 'cmake/FindNanopb.cmake')
-rw-r--r--cmake/FindNanopb.cmake2
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()