From 693702d98d7dab4a9249e5fa99a3ad99c772682b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 22 Nov 2023 11:02:35 +0100 Subject: [PATCH] compilerDefinitions.cmake: fixed faulty `add_compile_definitions()` value for MSVC (#5690) also fixes `(7,9): error : macro name must be an identifier` with `clang-cl` allowing the build to complete --- cmake/compilerDefinitions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/compilerDefinitions.cmake b/cmake/compilerDefinitions.cmake index 6adac130d..ecf9bf2dd 100644 --- a/cmake/compilerDefinitions.cmake +++ b/cmake/compilerDefinitions.cmake @@ -1,6 +1,6 @@ if (MSVC) # Visual Studio only sets _DEBUG - add_compile_definitions($<$:-DDEBUG>) + add_compile_definitions($<$:DEBUG>) add_definitions(-DWIN32) add_definitions(-D_CRT_SECURE_NO_WARNINGS)