[CMAKE/MSVC]

- define _ALLOW_KEYWORD_MACROS for VS11 too

svn path=/trunk/; revision=63376
This commit is contained in:
Kamil Hornicek 2014-05-19 20:28:35 +00:00
parent ffbeaececb
commit 9e5dfae220

View file

@ -63,7 +63,7 @@ if(NOT CMAKE_CROSSCOMPILING)
if(ARCH STREQUAL "i386")
add_definitions(/D_X86_ /DWIN32 /D_WINDOWS)
endif()
if(MSVC_VERSION GREATER 1799)
if(MSVC_VERSION GREATER 1699)
add_definitions(/D_ALLOW_KEYWORD_MACROS)
endif()
add_definitions(/Dinline=__inline)