From e4ae2500d3f9e078278fb9616b1bfbb9329b3d48 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Thu, 18 Jan 2024 20:13:07 +0100 Subject: [PATCH] Fix superbuild --- features.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features.cmake b/features.cmake index 06b6481d..1506ed2b 100644 --- a/features.cmake +++ b/features.cmake @@ -1,8 +1,10 @@ # SPDX-FileCopyrightText: 2023 Pier Luigi Fiorini # SPDX-License-Identifier: BSD-3-Clause -## Find Aurora Scanner: -find_package(AuroraScanner REQUIRED) +if(NOT COMMAND aurora_generate_wayland_protocol_server_sources) + ## Find Aurora Scanner: + find_package(AuroraScanner REQUIRED) +endif() ## Find Wayland: set(WAYLAND_MIN_VERSION "1.15")