mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
lockstep_scheduler: correct cmake target includes
This commit is contained in:
parent
2d922b5cb4
commit
ffb8bb6066
@ -33,8 +33,9 @@ else()
|
||||
add_library(lockstep_scheduler
|
||||
src/lockstep_scheduler.cpp
|
||||
)
|
||||
include_directories(
|
||||
include
|
||||
target_include_directories(lockstep_scheduler
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "lockstep_scheduler/lockstep_scheduler.h"
|
||||
#include <lockstep_scheduler/lockstep_scheduler.h>
|
||||
|
||||
LockstepScheduler::~LockstepScheduler()
|
||||
{
|
||||
|
||||
@ -59,7 +59,6 @@ target_link_libraries(px4_layer PRIVATE px4_daemon)
|
||||
|
||||
if(ENABLE_LOCKSTEP_SCHEDULER)
|
||||
target_link_libraries(px4_layer PRIVATE lockstep_scheduler)
|
||||
include_directories(${PX4_SOURCE_DIR}/platforms/posix/src/lockstep_scheduler/include)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user