We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd6a93 commit 72d9068Copy full SHA for 72d9068
conan_provider.cmake
@@ -349,8 +349,10 @@ macro(append_compiler_executables_configuration)
349
# Not necessary to warn if RC not defined
350
endif()
351
if(NOT "x${_conan_compilers_list}" STREQUAL "x")
352
- string(REPLACE ";" "," _conan_compilers_list "${_conan_compilers_list}")
353
- string(APPEND profile "tools.build:compiler_executables={${_conan_compilers_list}}\n")
+ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+ string(REPLACE ";" "," _conan_compilers_list "${_conan_compilers_list}")
354
+ string(APPEND profile "tools.build:compiler_executables={${_conan_compilers_list}}\n")
355
+ endif()
356
357
unset(_conan_c_compiler)
358
unset(_conan_cpp_compiler)
0 commit comments