From dfa14a19bac1d6004b5f45b2e0d7ea7f1d1b69e6 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 31 Jan 2024 12:01:39 +0100 Subject: [PATCH] Do not use on systems that do not have it --- include/lol/cli | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/lol/cli b/include/lol/cli index ba93a56b..a8c79624 100644 --- a/include/lol/cli +++ b/include/lol/cli @@ -1,7 +1,7 @@ // // Lol Engine // -// Copyright © 2010—2020 Sam Hocevar +// Copyright © 2010–2024 Sam Hocevar // // Lol Engine is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it @@ -12,6 +12,12 @@ #pragma once +// Do not use on systems that do not have it +#include +#if defined _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +# define CLI11_HAS_FILESYSTEM 0 +#endif + #include "private/push_macros.h" #include "3rdparty/cli11/include/CLI/CLI.hpp" #include "private/pop_macros.h"