wgtpkg-zip: use PATH for retriving programs
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 4 Jan 2016 14:09:36 +0000 (15:09 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 4 Jan 2016 14:44:27 +0000 (15:44 +0100)
commitcda8f0470953975c45c66b8f3b7249f36f064d78
treed125c68406e56693770e24018331e5f963b16230
parent07c512dad1762f3791cc796a3014b43a0211345b
wgtpkg-zip: use PATH for retriving programs

When using yocto, the directive 'find_program'
of cmake returns a path that matches the host
path when builing, not the path of the file on
the target.

Using the standard algorithm for seeking
programs using PATH should solve the problem.

Change-Id: I426a88fe044a1d1b3a72124da17ca8a188caad9c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/wgtpkg-zip.c