diff options
Diffstat (limited to 'Source/cmExportBuildAndroidMKGenerator.cxx')
| -rw-r--r-- | Source/cmExportBuildAndroidMKGenerator.cxx | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportBuildAndroidMKGenerator.cxx b/Source/cmExportBuildAndroidMKGenerator.cxx index bcd8c64..5d0b208 100644 --- a/Source/cmExportBuildAndroidMKGenerator.cxx +++ b/Source/cmExportBuildAndroidMKGenerator.cxx @@ -4,6 +4,7 @@  #include <sstream>  #include <utility> +#include <vector>  #include <cmext/algorithm> @@ -60,7 +61,7 @@ void cmExportBuildAndroidMKGenerator::GenerateImportPropertyCode(  }  void cmExportBuildAndroidMKGenerator::GenerateMissingTargetsCheckCode( -  std::ostream&, const std::vector<std::string>&) +  std::ostream&)  {  } @@ -168,7 +169,8 @@ void cmExportBuildAndroidMKGenerator::GenerateInterfaceProperties(    // Tell the NDK build system if prebuilt static libraries use C++.    if (target->GetType() == cmStateEnums::STATIC_LIBRARY) { -    cmLinkImplementation const* li = target->GetLinkImplementation(config); +    cmLinkImplementation const* li = target->GetLinkImplementation( +      config, cmGeneratorTarget::LinkInterfaceFor::Link);      if (cm::contains(li->Languages, "CXX")) {        os << "LOCAL_HAS_CPP := true\n";      }  | 
