From e385a7e165d1460ed708f89152c5610736ce19b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sun, 9 Jun 2024 18:40:35 -0400 Subject: [PATCH] [ci] Be more forgiving if not available --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b7200e..1d50c4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,10 @@ project(score_addon_ble LANGUAGES CXX) score_common_setup() include(ble.cmake) +if(NOT TARGET simpleble) + return() +endif() + # Necessary as SimpleBLE overwrites: include(GenerateStaticExport)