diff --git a/src/plugins/score-plugin-protocols/CMakeLists.txt b/src/plugins/score-plugin-protocols/CMakeLists.txt index 6d9e25c5f0..bc9955e6bf 100644 --- a/src/plugins/score-plugin-protocols/CMakeLists.txt +++ b/src/plugins/score-plugin-protocols/CMakeLists.txt @@ -374,7 +374,7 @@ if(OSSIA_PROTOCOL_ARTNET) endif() endif() -find_path(LINUX_HEADERS_INCLUDE_DIR linux/types.h) +find_path(LINUX_HEADERS_INCLUDE_DIR linux/gpio.h) if(LINUX_HEADERS_INCLUDE_DIR AND UNIX AND NOT APPLE AND NOT EMSCRIPTEN) target_sources(${PROJECT_NAME} PRIVATE ${SIMPLEIO_HDRS} ${SIMPLEIO_SRCS}) target_compile_definitions(${PROJECT_NAME} PRIVATE OSSIA_PROTOCOL_SIMPLEIO)