https://github.com/Kitware/CMake
Revision 16053df54ebee99cdedf1bb9b6b63243e18433b8 authored by Brad King on 31 March 2020, 13:19:34 UTC, committed by Kitware Robot on 31 March 2020, 13:19:42 UTC
2af18704fd Merge branch 'backport-3.16-link-libs-config-case'
3f976bf201 target_link_libraries: Fix regression in case of $<CONFIG> genex
5a95b5e091 target_link_libraries: Fix regression in case of $<CONFIG> genex

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4544
2 parent s 34108b4 + 2af1870
Raw File
Tip revision: 16053df54ebee99cdedf1bb9b6b63243e18433b8 authored by Brad King on 31 March 2020, 13:19:34 UTC
Merge topic 'link-libs-config-case'
Tip revision: 16053df
cmRemoveDefinitionsCommand.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#include "cmRemoveDefinitionsCommand.h"

#include "cmExecutionStatus.h"
#include "cmMakefile.h"

bool cmRemoveDefinitionsCommand(std::vector<std::string> const& args,
                                cmExecutionStatus& status)
{
  cmMakefile& mf = status.GetMakefile();
  for (std::string const& i : args) {
    mf.RemoveDefineFlag(i);
  }
  return true;
}
back to top