mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 16:51:16 +08:00
lockstep_scheduler: correct cmake target includes
This commit is contained in:
1 parent
2d922b5cb4
commit
ffb8bb6066
3 files changed
+4
-4
No files matched your search
@@ -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