Skip to content

Commit

Permalink
refactor: Rename to '_get_msvc_version'
Browse files Browse the repository at this point in the history
  • Loading branch information
hwhsu1231 committed Oct 31, 2022
1 parent 8425640 commit f85ca89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

include(CMakeParseArguments)

function(_get_msvc_ide_version result)
function(_get_msvc_version result)
set(${result} "" PARENT_SCOPE)
if(NOT MSVC_VERSION VERSION_LESS 1400 AND MSVC_VERSION VERSION_LESS 1500)
# VS2005
Expand Down Expand Up @@ -214,7 +214,7 @@ macro(_conan_detect_compiler)

# Detect 'compiler' and 'compiler.version'
set(_MSVC "msvc")
_get_msvc_ide_version(_MSVC_VERSION)
_get_msvc_version(_MSVC_VERSION)
if("${_MSVC_VERSION}" STREQUAL "")
message(FATAL_ERROR "Conan: MSVC not recognized")
else()
Expand Down

0 comments on commit f85ca89

Please sign in to comment.