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

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 8e15feaa13
commit 80e357ffee

@ -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()

Loading…
Cancel
Save