From eb50d3e497d47848741487ee2a3170f2c890d3f1 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 25 Jul 2021 19:22:11 +0200 Subject: [PATCH] [General] Don't require crashcatcher when not building on Windows --- components/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 26add7c0c..3aa723b9f 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -226,7 +226,8 @@ add_component_dir (fallback # Start of tes3mp change (major) # -# Don't require the crashcatcher when building the server +# Don't require the crashcatcher when building on platforms other than Windows or when building only the server, +# as it causes compilation problems if (BUILD_OPENMW OR BUILD_OPENCS) if(WIN32) add_component_dir (crashcatcher @@ -234,10 +235,6 @@ if (BUILD_OPENMW OR BUILD_OPENCS) windows_crashmonitor windows_crashshm ) - elseif(NOT ANDROID) - add_component_dir (crashcatcher - crashcatcher - ) endif() endif() # End of tes3mp change (major)