forked from Archive/PX4-Autopilot
Another attempt to fix the build problem in the shmem code.
This commit is contained in:
parent
701d6314d2
commit
a2c16a3b5e
|
@ -31,13 +31,12 @@
|
||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
||||||
include(hexagon_sdk)
|
|
||||||
|
|
||||||
include_directories(${CMAKE_BINARY_DIR}/src/firmware/posix)
|
|
||||||
include_directories(${HEXAGON_SDK_INCLUDES})
|
|
||||||
|
|
||||||
if("${CONFIG_SHMEM}" STREQUAL "1")
|
if("${CONFIG_SHMEM}" STREQUAL "1")
|
||||||
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
||||||
|
include(hexagon_sdk)
|
||||||
|
|
||||||
|
include_directories(${CMAKE_BINARY_DIR}/src/firmware/posix)
|
||||||
|
include_directories(${HEXAGON_SDK_INCLUDES})
|
||||||
list(APPEND SHMEM_SRCS
|
list(APPEND SHMEM_SRCS
|
||||||
shmem_posix.c
|
shmem_posix.c
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue