Browse Source

Fix cmake build after add libevents_health_and_arming_checks

QGC4.4
lss 3 years ago committed by Patrick José Pereira
parent
commit
57dd326118
  1. 6
      libs/libevents/CMakeLists.txt
  2. 1
      src/Vehicle/CMakeLists.txt

6
libs/libevents/CMakeLists.txt

@ -10,4 +10,8 @@ add_library(libevents_parser @@ -10,4 +10,8 @@ add_library(libevents_parser
)
target_include_directories(libevents_parser PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(libevents_parser PUBLIC Qt5::Core)
target_link_libraries(libevents_parser PUBLIC comm)
target_link_libraries(libevents_parser PUBLIC comm)
add_library(libevents_health_and_arming_checks
libevents/libs/cpp/parse/health_and_arming_checks.cpp)
target_link_libraries(libevents_health_and_arming_checks PRIVATE comm)

1
src/Vehicle/CMakeLists.txt

@ -107,6 +107,7 @@ target_link_libraries(Vehicle @@ -107,6 +107,7 @@ target_link_libraries(Vehicle
compression
libevents_generated
libevents_parser
libevents_health_and_arming_checks
PUBLIC
qgc
)

Loading…
Cancel
Save