|
|
@ -251,10 +251,10 @@ MACRO(USE_CURRENT_WINSDK)
|
|
|
|
SET(WINSDK_VERSION "6.1")
|
|
|
|
SET(WINSDK_VERSION "6.1")
|
|
|
|
ELSEIF(WINSDK6.0_FOUND)
|
|
|
|
ELSEIF(WINSDK6.0_FOUND)
|
|
|
|
SET(WINSDK_VERSION "6.0")
|
|
|
|
SET(WINSDK_VERSION "6.0")
|
|
|
|
ELSE(WINSDK7.1_FOUND)
|
|
|
|
ELSE()
|
|
|
|
MESSAGE(FATAL_ERROR "You have no compatible Windows SDK installed.")
|
|
|
|
MESSAGE(FATAL_ERROR "You have no compatible Windows SDK installed.")
|
|
|
|
ENDIF(WINSDK7.1_FOUND)
|
|
|
|
ENDIF()
|
|
|
|
ENDIF(NOT WINSDK_VERSION)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
# Look for correct registered Windows SDK version
|
|
|
|
# Look for correct registered Windows SDK version
|
|
|
|
FOREACH(_VERSION ${WINSDK_DETECTED_VERSIONS})
|
|
|
|
FOREACH(_VERSION ${WINSDK_DETECTED_VERSIONS})
|
|
|
|