From 2266235fdb9ba14114d4a751e2226003d6e09d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sat, 6 Jul 2024 13:04:38 -0400 Subject: [PATCH] [ci] Add a freebsd step --- ci/common.deps.sh | 0 src/plugins/score-plugin-protocols/CMakeLists.txt | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 ci/common.deps.sh diff --git a/ci/common.deps.sh b/ci/common.deps.sh old mode 100644 new mode 100755 diff --git a/src/plugins/score-plugin-protocols/CMakeLists.txt b/src/plugins/score-plugin-protocols/CMakeLists.txt index 81f838e6ff..975384e4e1 100644 --- a/src/plugins/score-plugin-protocols/CMakeLists.txt +++ b/src/plugins/score-plugin-protocols/CMakeLists.txt @@ -330,7 +330,8 @@ if(OSSIA_PROTOCOL_ARTNET) endif() endif() -if(UNIX AND NOT APPLE AND NOT EMSCRIPTEN) +find_path(LINUX_HEADERS_INCLUDE_DIR linux/types.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) target_link_libraries(${PROJECT_NAME} PRIVATE simpleio)