From 70cb939b28655457df4cbe68640e97d94e1b7557 Mon Sep 17 00:00:00 2001 From: tusooa <tusooa@kazv.moe> Date: Thu, 19 Sep 2024 19:57:41 -0400 Subject: [PATCH] Ask lager and immer to always use exceptions Summary: lager and immer now have a definition for it to always enable exceptions support. When it is well-supported we can drop the `#include <libkazv-config.hpp>` line. Type: skip Test Plan: Verify unit tests pass. Reviewers: O1 the Kazv Project Differential Revision: https://iron.lily-is.land/D185 --- src/base/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/CMakeLists.txt b/src/base/CMakeLists.txt index 85d3670..8b45ec2 100644 --- a/src/base/CMakeLists.txt +++ b/src/base/CMakeLists.txt @@ -33,6 +33,7 @@ target_include_directories(kazvbase ) target_compile_options(kazvbase PUBLIC "-fexceptions") +target_compile_definitions(kazvbase PUBLIC -DLAGER_USE_EXCEPTIONS -DIMMER_USE_EXCEPTIONS) install(TARGETS kazvbase EXPORT libkazvTargets LIBRARY) -- GitLab