Skip to content

Commit

Permalink
fix[android]: build profile name while cross-compiling is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefly35 committed Oct 8, 2021
1 parent a5803a0 commit c88d07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/ConanSystemTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c88d07b

Please sign in to comment.