mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-22 23:06:18 +00:00
Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015
This commit is contained in:
parent
1c06a65bd7
commit
8ce3151275
1 changed files with 2 additions and 2 deletions
|
@ -441,8 +441,8 @@ IF(WINSDK_INCLUDE_DIR)
|
||||||
|
|
||||||
SET(CMAKE_LIBRARY_PATH ${WINSDK_LIBRARY_DIR} ${CMAKE_LIBRARY_PATH})
|
SET(CMAKE_LIBRARY_PATH ${WINSDK_LIBRARY_DIR} ${CMAKE_LIBRARY_PATH})
|
||||||
|
|
||||||
# Fix for using Windows SDK 7.1 with Visual C++ 2012
|
# Fix for using Windows SDK 7.1 with Visual C++ 2012, 2013 and 2015
|
||||||
IF(WINSDK_VERSION STREQUAL "7.1" AND MSVC11)
|
IF(WINSDK_VERSION STREQUAL "7.1" AND (MSVC11 OR MSVC12 OR MSVC14))
|
||||||
ADD_DEFINITIONS(-D_USING_V110_SDK71_)
|
ADD_DEFINITIONS(-D_USING_V110_SDK71_)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ELSE()
|
ELSE()
|
||||||
|
|
Loading…
Reference in a new issue