FindMSVC fix
This commit is contained in:
parent
1a669307da
commit
d81c9db04e
1 changed files with 2 additions and 2 deletions
|
@ -36,10 +36,10 @@ MACRO(DETECT_VC_VERSION _VERSION)
|
|||
DETECT_VC_VERSION_HELPER("HKEY_LOCAL_MACHINE" ${_VERSION})
|
||||
ENDIF(NOT VC${_VERSION}_FOUND)
|
||||
|
||||
IF(NOT VC${_VERSION}_FOUND)
|
||||
IF(VC${_VERSION}_FOUND)
|
||||
SET(VC_FOUND ON)
|
||||
SET(VC_DIR "${VC${_VERSION}_DIR}")
|
||||
ENDIF(NOT VC${_VERSION}_FOUND)
|
||||
ENDIF(VC${_VERSION}_FOUND)
|
||||
ENDMACRO(DETECT_VC_VERSION)
|
||||
|
||||
IF(MSVC11)
|
||||
|
|
Loading…
Reference in a new issue