summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorJonas Fierlings <fnoegip@gmail.com>2022-07-08 11:06:48 (GMT)
committerJonas Fierlings <fnoegip@gmail.com>2022-07-08 14:47:01 (GMT)
commitd99d33d7493daa721e96de85240371bf84b9c62b (patch)
treef5c34ec16582a1526544a61c6444e17c486b78f0 /Source/cmVisualStudio10TargetGenerator.cxx
parentc4cdd7a24d3016ccf91fae26646a548b52de4a78 (diff)
downloadCMake-d99d33d7493daa721e96de85240371bf84b9c62b.zip
CMake-d99d33d7493daa721e96de85240371bf84b9c62b.tar.gz
CMake-d99d33d7493daa721e96de85240371bf84b9c62b.tar.bz2
VS: Generate IntDir property for INTERFACE libraries
This prevents MSBuild from complaining with warning MSB8028. Fixes #23043
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index a7460e8..2356869 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2930,7 +2930,7 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions(
Elem& e0)
{
cmStateEnums::TargetType ttype = this->GeneratorTarget->GetType();
- if (ttype > cmStateEnums::GLOBAL_TARGET) {
+ if (ttype > cmStateEnums::INTERFACE_LIBRARY) {
return;
}
if (this->ProjectType == VsProjectType::csproj) {