compilerDefinitions.cmake: fixed faulty `add_compile_definitions()` value for MSVC (#5690)
also fixes `<command line>(7,9): error : macro name must be an identifier` with `clang-cl` allowing the build to complete
This commit is contained in:
parent
8b6cbe2e9e
commit
693702d98d
|
@ -1,6 +1,6 @@
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Visual Studio only sets _DEBUG
|
# Visual Studio only sets _DEBUG
|
||||||
add_compile_definitions($<$<CONFIG:Debug>:-DDEBUG>)
|
add_compile_definitions($<$<CONFIG:Debug>:DEBUG>)
|
||||||
|
|
||||||
add_definitions(-DWIN32)
|
add_definitions(-DWIN32)
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
|
Loading…
Reference in New Issue