diff --git a/src/tools/ConanSystemTool.cpp b/src/tools/ConanSystemTool.cpp index 740c5e7..05c6d4d 100755 --- a/src/tools/ConanSystemTool.cpp +++ b/src/tools/ConanSystemTool.cpp @@ -79,7 +79,7 @@ void ConanSystemTool::install(const Dependency & dependency) } std::string profileName = m_options.getConanProfile(); if (m_options.crossCompiling() && m_options.getConanProfile() == "default") { - std::string profileName = m_options.getOS() + "-" + m_options.getBuildToolchain() + "-" + m_options.getArchitecture(); + profileName = m_options.getOS() + "-" + m_options.getBuildToolchain() + "-" + m_options.getArchitecture(); } std::string cppStd="compiler.cppstd="; cppStd += m_options.getCppVersion();