mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
lockstep_scheduler: correct cmake target includes
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user