summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-11 15:54:06 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-11 15:54:06 (GMT)
commit07e1a74361b89c1080db1bca904dcd82e955777d (patch)
treee0def7aa7777c9541293d8b34f9778036e11ea62 /Source
parentae7c7b6db5d6765768e95485b2db1a1b18cfbded (diff)
downloadCMake-07e1a74361b89c1080db1bca904dcd82e955777d.zip
CMake-07e1a74361b89c1080db1bca904dcd82e955777d.tar.gz
CMake-07e1a74361b89c1080db1bca904dcd82e955777d.tar.bz2
cmLocalVisualStudio7Generator: Clarify condition for target that compiles
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
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));