option to exclude libgpiod from build

This commit is contained in:
Jakob Meier 2022-02-05 16:09:23 +01:00
parent 235fd79dfb
commit 9579e94a71

View File

@ -8,11 +8,11 @@ target_sources(${LIB_FSFW_NAME} PRIVATE
utility.cpp
)
if(FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS)
if(FSFW_HAL_ADD_LIBGPIOD)
add_subdirectory(gpio)
add_subdirectory(spi)
add_subdirectory(i2c)
add_subdirectory(uart)
endif()
add_subdirectory(uio)
add_subdirectory(spi)
add_subdirectory(i2c)
add_subdirectory(uart)
add_subdirectory(uio)