From 2c40d67dc37cb294852e47e7975701dde96cb473 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 23 Mar 2021 17:11:34 +0100 Subject: [PATCH] and now it works --- linux/gpio/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/gpio/CMakeLists.txt b/linux/gpio/CMakeLists.txt index ccc019a..b2041b4 100644 --- a/linux/gpio/CMakeLists.txt +++ b/linux/gpio/CMakeLists.txt @@ -5,8 +5,8 @@ target_sources(${LIB_FSFW_HAL_NAME} PRIVATE # This abstraction layer requires the gpiod library. You can install this library # with "sudo apt-get install -y libgpiod-dev". If you are cross-compiling, you need # to install the package before syncing the sysroot to your host computer. -# find_library(gpiod REQUIRED) +find_library(LIB_GPIO gpiod REQUIRED) target_link_libraries(${LIB_FSFW_HAL_NAME} PRIVATE - gpiod + ${LIB_GPIO} ) \ No newline at end of file