From f6cfe6b873cf2741fc9430e48e6c91db18054c42 Mon Sep 17 00:00:00 2001 From: grorp Date: Fri, 17 May 2024 13:27:31 +0200 Subject: [PATCH] Enable RTTI for Irrlicht on MSVC (#14677) --- irr/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irr/src/CMakeLists.txt b/irr/src/CMakeLists.txt index 10a841669..daff63bc2 100644 --- a/irr/src/CMakeLists.txt +++ b/irr/src/CMakeLists.txt @@ -31,7 +31,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$") elseif(MSVC) string(APPEND CMAKE_CXX_STANDARD_LIBRARIES " msvcrt.lib") # ???? fuck off - add_compile_options(/GR- /Zl) + add_compile_options(/Zl) # Enable SSE for floating point math on 32-bit x86 by default # reasoning see minetest issue #11810 and https://gcc.gnu.org/wiki/FloatingPointMath