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()
add_library(lockstep_scheduler
src/lockstep_scheduler.cpp
)
include_directories(
include
target_include_directories(lockstep_scheduler
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
endif()
#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()
......
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