fsfw/hal/src/fsfw_hal/linux/gpio/CMakeLists.txt

12 lines
410 B
CMake
Raw Normal View History

2021-07-15 18:53:59 +02:00
target_sources(${LIB_FSFW_NAME} PRIVATE
2021-07-13 19:19:25 +02:00
LinuxLibgpioIF.cpp
)
# 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(LIB_GPIO gpiod REQUIRED)
2021-07-15 18:53:59 +02:00
target_link_libraries(${LIB_FSFW_NAME} PRIVATE
2021-07-13 19:19:25 +02:00
${LIB_GPIO}
)