diff options
author | Brad King <brad.king@kitware.com> | 2018-01-11 15:54:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-11 15:54:06 (GMT) |
commit | 07e1a74361b89c1080db1bca904dcd82e955777d (patch) | |
tree | e0def7aa7777c9541293d8b34f9778036e11ea62 /Source | |
parent | ae7c7b6db5d6765768e95485b2db1a1b18cfbded (diff) | |
download | CMake-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.cxx | 2 |
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)); |