From dd4f0b418cb71ba40fc8839a5e438343a751cac0 Mon Sep 17 00:00:00 2001 From: Yohan Simard Date: Tue, 2 Mar 2021 17:43:01 +0100 Subject: [PATCH] fix typo in INCLUDE_DIRS --- software/raspberry/superviseur-robot/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/software/raspberry/superviseur-robot/CMakeLists.txt b/software/raspberry/superviseur-robot/CMakeLists.txt index fbdd1c5..5e3032b 100644 --- a/software/raspberry/superviseur-robot/CMakeLists.txt +++ b/software/raspberry/superviseur-robot/CMakeLists.txt @@ -53,9 +53,7 @@ else () endif () foreach (lib IN LISTS Xenomai_libs) - message(STATUS ${lib}: ${Xenomai_${lib}_LDFLAGS}) - target_link_options(main PRIVATE ${Xenomai_${lib}_LDFLAGS}) - target_include_directories(main PRIVATE ${Xenomai_${lib}_INCLUDE_DIR}) + target_include_directories(main PRIVATE ${Xenomai_${lib}_INCLUDE_DIRS}) target_link_libraries(main ${Xenomai_${lib}_LIBRARY_DIRS} ${Xenomai_${lib}_LIBRARIES}) set_target_properties(main PROPERTIES LINK_FLAGS ${Xenomai_${lib}_LDFLAGS}) target_compile_definitions(main PRIVATE ${Xenomai_${lib}_DEFINITIONS})