mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:33:35 +08:00
Improvements to SITL to make paths more flexible. (#5181)
This commit is contained in:
@@ -32,10 +32,10 @@
|
||||
############################################################################
|
||||
|
||||
if("${CONFIG_SHMEM}" STREQUAL "1")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
||||
include(hexagon_sdk)
|
||||
|
||||
include_directories(${CMAKE_BINARY_DIR}/src/firmware/posix)
|
||||
include_directories(${PX4_BINARY_DIR}/src/firmware/posix)
|
||||
include_directories(${HEXAGON_SDK_INCLUDES})
|
||||
list(APPEND SHMEM_SRCS
|
||||
shmem_posix.c
|
||||
|
||||
Reference in New Issue
Block a user