diff options
author | Brad King <brad.king@kitware.com> | 2010-12-21 19:01:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-12-21 19:01:38 (GMT) |
commit | 2031b6a9f309b6c8f7da0abe2d943ab9c0748758 (patch) | |
tree | 82d5011ff29594433827c04b42deab665f596f81 /Source | |
parent | 12e7bdea50646556f953045139fc4cae5e400b82 (diff) | |
parent | f578381e6624b83843a1b9ff079a8073f7bc210f (diff) | |
download | CMake-2031b6a9f309b6c8f7da0abe2d943ab9c0748758.zip CMake-2031b6a9f309b6c8f7da0abe2d943ab9c0748758.tar.gz CMake-2031b6a9f309b6c8f7da0abe2d943ab9c0748758.tar.bz2 |
Merge topic 'vs2010_header_only_fix'
f578381 Fix vs2010 project generation error when HEADER_FILE_ONLY is set.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index f78aeec..8d3416a 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -700,7 +700,7 @@ void cmVisualStudio10TargetGenerator::WriteCLSources() } (*this->BuildFileStream ) << sourceFile << "\""; // ouput any flags specific to this source file - if(cl && this->OutputSourceSpecificFlags(*source)) + if(!header && cl && this->OutputSourceSpecificFlags(*source)) { // if the source file has specific flags the tag // is ended on a new line |