diff options
author | Brad King <brad.king@kitware.com> | 2021-08-02 18:06:58 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-08-02 18:07:13 (GMT) |
commit | 99d3e209996caf2d07684822ed90372a7b89a166 (patch) | |
tree | b94adb8e1678ba4e28cb98bcfd1503ccc8a38fc0 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 9faefbc67c5b564e5c400411731aa4340ce47164 (diff) | |
parent | 53aabe9817dfad76869c41c2eeb46fb874bf188b (diff) | |
download | CMake-99d3e209996caf2d07684822ed90372a7b89a166.zip CMake-99d3e209996caf2d07684822ed90372a7b89a166.tar.gz CMake-99d3e209996caf2d07684822ed90372a7b89a166.tar.bz2 |
Merge topic 'vs-iface-include-dirs'
53aabe9817 VS: Fix assertion failure on INCLUDE_DIRECTORIES in INTERFACE libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6411
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 82880a9..065601b 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -4091,6 +4091,9 @@ void cmVisualStudio10TargetGenerator::WriteMidlOptions( if (this->ProjectType == csproj) { return; } + if (this->GeneratorTarget->GetType() > cmStateEnums::UTILITY) { + return; + } // This processes *any* of the .idl files specified in the project's file // list (and passed as the item metadata %(Filename) expressing the rule |