Skip to content

Commit 4e512b4

Browse files
committed
refactor: Rename 'conan_cmake_detect_msvc_version'
1 parent d4c4720 commit 4e512b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conan.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
include(CMakeParseArguments)
3939

40-
function(_get_msvc_version result)
40+
function(conan_cmake_detect_msvc_version result)
4141
set(${result} "" PARENT_SCOPE)
4242
if(NOT MSVC_VERSION VERSION_LESS 1400 AND MSVC_VERSION VERSION_LESS 1500)
4343
# VS2005
@@ -214,7 +214,7 @@ macro(_conan_detect_compiler)
214214

215215
# Detect 'compiler' and 'compiler.version'
216216
set(_MSVC "msvc")
217-
_get_msvc_version(_MSVC_VERSION)
217+
conan_cmake_detect_msvc_version(_MSVC_VERSION)
218218
if("${_MSVC_VERSION}" STREQUAL "")
219219
message(FATAL_ERROR "Conan: MSVC not recognized")
220220
else()

0 commit comments

Comments
 (0)