Просмотр исходного кода

BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination.

Brad King 17 лет назад
Родитель
Сommit
71872ac926
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmInstallCommand.cxx

+ 1 - 1
Source/cmInstallCommand.cxx

@@ -536,7 +536,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
             bundleGenerator = CreateInstallTargetGenerator(target, bundleArgs, 
                                                            false);
             }
-          if(!runtimeArgs.GetDestination().empty())
+          else if(!runtimeArgs.GetDestination().empty())
             {
             bool failure = false;
             if(this->CheckCMP0006(failure))