Skip to content
Snippets Groups Projects
Commit ffb8bb60 authored by Matthias Grob's avatar Matthias Grob
Browse files

lockstep_scheduler: correct cmake target includes

parent 2d922b5c
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,9 @@ else() ...@@ -33,8 +33,9 @@ else()
add_library(lockstep_scheduler add_library(lockstep_scheduler
src/lockstep_scheduler.cpp src/lockstep_scheduler.cpp
) )
include_directories( target_include_directories(lockstep_scheduler
include PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
) )
endif() endif()
#include "lockstep_scheduler/lockstep_scheduler.h" #include <lockstep_scheduler/lockstep_scheduler.h>
LockstepScheduler::~LockstepScheduler() LockstepScheduler::~LockstepScheduler()
{ {
......
...@@ -59,7 +59,6 @@ target_link_libraries(px4_layer PRIVATE px4_daemon) ...@@ -59,7 +59,6 @@ target_link_libraries(px4_layer PRIVATE px4_daemon)
if(ENABLE_LOCKSTEP_SCHEDULER) if(ENABLE_LOCKSTEP_SCHEDULER)
target_link_libraries(px4_layer PRIVATE lockstep_scheduler) target_link_libraries(px4_layer PRIVATE lockstep_scheduler)
include_directories(${PX4_SOURCE_DIR}/platforms/posix/src/lockstep_scheduler/include)
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment