diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-01-27 15:26:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-01-27 15:26:55 (GMT) |
commit | 97ef91d57b46f43afb0c5474a091b9b9fd424b29 (patch) | |
tree | 2fef8917810eff82d5255f617627341fb1885118 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 1902f8e63c90360ca944d244d8d4d91a202a4f36 (diff) | |
download | CMake-97ef91d57b46f43afb0c5474a091b9b9fd424b29.zip CMake-97ef91d57b46f43afb0c5474a091b9b9fd424b29.tar.gz CMake-97ef91d57b46f43afb0c5474a091b9b9fd424b29.tar.bz2 |
BUG: fix for 7845, idl files compile even with headerfile only on
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 2c92579..578a4d8 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1302,11 +1302,10 @@ cmLocalVisualStudio7GeneratorFCInfo needForceLang = true; lang = sourceLang; } - // If lang is set, the compiler will generate code automatically. // If HEADER_FILE_ONLY is set, we must suppress this generation in // the project file fc.ExcludedFromBuild = - (lang && sf.GetPropertyAsBool("HEADER_FILE_ONLY")); + (sf.GetPropertyAsBool("HEADER_FILE_ONLY")); if(fc.ExcludedFromBuild) { needfc = true; |