From 07e1a74361b89c1080db1bca904dcd82e955777d Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 11 Jan 2018 10:54:06 -0500 Subject: cmLocalVisualStudio7Generator: Clarify condition for target that compiles --- Source/cmLocalVisualStudio7Generator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index eccd4d0..7aae250 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -637,7 +637,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration( configType = projectType; } std::string flags; - if (strcmp(configType, "10") != 0) { + if (target->GetType() <= cmStateEnums::OBJECT_LIBRARY) { const std::string& linkLanguage = (this->FortranProject ? std::string("Fortran") : target->GetLinkerLanguage(configName)); -- cgit v0.12