From 547c3a68050f6e566fd929142090143092548b9c Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Thu, 3 Dec 2020 19:30:42 -0800 Subject: [PATCH] Disable fmt exceptions --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17f108fc32..f61c809abe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -307,6 +307,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin") # Objective-C++ because fmt tries try to use throw because __EXCEPTIONS is defined. add_compile_options("$<$:-fno-objc-exceptions>") add_compile_options("$<$:-fno-objc-exceptions>") + dolphin_compile_definitions(FMT_EXCEPTIONS=0) find_library(APPKIT_LIBRARY AppKit) find_library(APPSERV_LIBRARY ApplicationServices)