forked from Archive/PX4-Autopilot
version CMakeLists.txt: add ver_gen dependency
Necessary so that build_git_version.h is generated before version.c is compiled. Error before: ../src/lib/version/version.c:152:31: error: 'PX4_GIT_TAG_STR' undeclared (first use in this function) return version_tag_to_number(PX4_GIT_TAG_STR);
This commit is contained in:
parent
cf21d8f554
commit
0c7e9b0e6d
|
@ -36,6 +36,7 @@ px4_add_module(
|
|||
SRCS
|
||||
version.c
|
||||
DEPENDS
|
||||
ver_gen
|
||||
platforms__common
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
|
Loading…
Reference in New Issue