From 30d468cc06bdfcb0f9881b4a3a93adbb1064f88c Mon Sep 17 00:00:00 2001 From: msclock Date: Tue, 19 Nov 2024 11:35:16 +0800 Subject: [PATCH] Support msvc build for x86 --- cmake/compilerDefinitions.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/compilerDefinitions.cmake b/cmake/compilerDefinitions.cmake index 5de849fc399..f650f483d4c 100644 --- a/cmake/compilerDefinitions.cmake +++ b/cmake/compilerDefinitions.cmake @@ -7,7 +7,6 @@ if(MSVC) add_definitions(-DWIN32) add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-DWIN32_LEAN_MEAN) - add_definitions(-D_WIN64) endif() # TODO: this should probably apply to the compiler and not the platform - I think it is only "broken" with MinGW