cmake add missing generate_px4muorb_stubs dependency (#8559)

This commit is contained in:
Daniel Agar 2018-01-02 10:18:00 -05:00 committed by GitHub
parent 92540fc6d8
commit 4d08f56fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -39,6 +39,6 @@ px4_add_module(
px4muorb.cpp
uORBFastRpcChannel.cpp
DEPENDS
generate_px4muorb_stubs
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :

View File

@ -31,6 +31,7 @@
#
############################################################################
set(EXTRA_DEPENDS)
if("${CONFIG_SHMEM}" STREQUAL "1")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(hexagon_sdk)
@ -42,6 +43,7 @@ if("${CONFIG_SHMEM}" STREQUAL "1")
)
# TODO: This didn't seem to be tracked correctly from posix_eagle_release.cmake
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCONFIG_SHMEM")
set(EXTRA_DEPENDS generate_px4muorb_stubs)
endif()
px4_add_module(
@ -57,5 +59,5 @@ px4_add_module(
${SHMEM_SRCS}
DEPENDS
platforms__common
${EXTRA_DEPENDS}
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :