From d13c40e09d38dc2b9c65fdc9272f24aef7718c1a Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 3 Oct 2026 10:09:12 +1000 Subject: [PATCH] [client] windows: enable CRT math constants --- client/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index c08cc354..b78fbf37 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -161,6 +161,8 @@ endif() add_feature_info(ENABLE_USB_AUDIO ENABLE_USB_AUDIO "USB audio support.") if(MSVC) + add_compile_definitions(_USE_MATH_DEFINES) + foreach(LG_CLIENT_COMPILE_OPTION /W4 /WX