From 67a524ac946d9c327def0f6e2cd6aa8b33cbae0c Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Wed, 18 Sep 2024 04:43:40 -0700 Subject: [PATCH] Check for WIN32 rather than MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ddc211b0..bd9b32575 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ if (WITH_PYTHON) find_package(Python3 COMPONENTS Interpreter Development) endif() -if (MSVC) +if (WIN32) # Use unsigned characters add_definitions(-J) # Make sure cmath header defines things like M_PI