mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:48:53 +08:00
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:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user