We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4c4720 commit 4e512b4Copy full SHA for 4e512b4
conan.cmake
@@ -37,7 +37,7 @@
37
38
include(CMakeParseArguments)
39
40
-function(_get_msvc_version result)
+function(conan_cmake_detect_msvc_version result)
41
set(${result} "" PARENT_SCOPE)
42
if(NOT MSVC_VERSION VERSION_LESS 1400 AND MSVC_VERSION VERSION_LESS 1500)
43
# VS2005
@@ -214,7 +214,7 @@ macro(_conan_detect_compiler)
214
215
# Detect 'compiler' and 'compiler.version'
216
set(_MSVC "msvc")
217
- _get_msvc_version(_MSVC_VERSION)
+ conan_cmake_detect_msvc_version(_MSVC_VERSION)
218
if("${_MSVC_VERSION}" STREQUAL "")
219
message(FATAL_ERROR "Conan: MSVC not recognized")
220
else()
0 commit comments