Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-09 13:47:15 +01:00
parent 8e15feaa13
commit 80e357ffee

View file

@ -441,8 +441,8 @@ IF(WINSDK_INCLUDE_DIR)
SET(CMAKE_LIBRARY_PATH ${WINSDK_LIBRARY_DIR} ${CMAKE_LIBRARY_PATH})
# Fix for using Windows SDK 7.1 with Visual C++ 2012
IF(WINSDK_VERSION STREQUAL "7.1" AND MSVC11)
# Fix for using Windows SDK 7.1 with Visual C++ 2012, 2013 and 2015
IF(WINSDK_VERSION STREQUAL "7.1" AND (MSVC11 OR MSVC12 OR MSVC14))
ADD_DEFINITIONS(-D_USING_V110_SDK71_)
ENDIF()
ELSE()