diff options
author | Brad King <brad.king@kitware.com> | 2009-07-03 14:33:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-03 14:33:49 (GMT) |
commit | 43669f0ef279a88816e8b9053beed6e9ee772ab5 (patch) | |
tree | f5b0c1c93c525cec00c9dc4c2815331657bf0f15 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 44021718a6358d8b93168b04e2c457d8799182b8 (diff) | |
download | CMake-43669f0ef279a88816e8b9053beed6e9ee772ab5.zip CMake-43669f0ef279a88816e8b9053beed6e9ee772ab5.tar.gz CMake-43669f0ef279a88816e8b9053beed6e9ee772ab5.tar.bz2 |
BUG: Avoid cmTarget::GetDirectory for utilities
Since utility targets have no main output files like executables or
libraries, they do not define an output directory. This removes a call
to cmTarget::GetDirectory from cmLocalVisualStudio{6,7}Generator for
such targets.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-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 397c02f..f009657 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -864,7 +864,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, // end of <Tool Name=VCMIDLTool // Check if we need the FAT32 workaround. - if ( this->Version >= 8 ) + if(targetBuilds && this->Version >= 8) { // Check the filesystem type where the target will be written. if(cmLVS6G_IsFAT(target.GetDirectory(configName).c_str())) |